MCPcopy
hub / github.com/meteor/meteor / constructor

Method constructor

tools/cordova/project.js:81–94  ·  view source on GitHub ↗
(projectContext, options = {})

Source from the content-addressed store, hash-verified

79
80export class CordovaProject {
81 constructor(projectContext, options = {}) {
82
83 this.projectContext = projectContext;
84
85 this.projectRoot = projectContext.getProjectLocalDirectory('cordova-build');
86 this.options = options;
87
88 this.pluginsDir = files.pathJoin(this.projectRoot, 'plugins');
89
90 this.buildJsonPath = files.convertToOSPath(
91 files.pathJoin(this.projectRoot, 'build.json'));
92
93 this.createIfNeeded();
94 }
95
96 createIfNeeded() {
97 buildmessage.assertInJob();

Callers

nothing calls this directly

Calls 1

createIfNeededMethod · 0.95

Tested by

no test coverage detected