UNPKG

766 BJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6exports.BuildContext = void 0;
7const path_1 = __importDefault(require("path"));
8class BuildContext {
9 constructor(job, options) {
10 this.job = job;
11 this.workingdir = options.workingdir;
12 this.logger = options.logger;
13 }
14 get buildDirectory() {
15 return path_1.default.join(this.workingdir, 'build');
16 }
17 get reactNativeProjectDirectory() {
18 return path_1.default.join(this.buildDirectory, this.job.projectRootDirectory);
19 }
20}
21exports.BuildContext = BuildContext;
22//# sourceMappingURL=context.js.map
\No newline at end of file