1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | exports.BuildContext = void 0;
|
7 | const path_1 = __importDefault(require("path"));
|
8 | class 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 | }
|
21 | exports.BuildContext = BuildContext;
|
22 |
|
\ | No newline at end of file |