MCPcopy
hub / github.com/meteor/meteor / prepareCordovaProject

Function prepareCordovaProject

tools/cli/commands.js:406–419  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404 if (!_.isEmpty(runTargets)) {
405
406 function prepareCordovaProject() {
407 import { CordovaProject } from '../cordova/project.js';
408
409 main.captureAndExit('', 'preparing Cordova project', () => {
410 const cordovaProject = new CordovaProject(projectContext, {
411 settingsFile: options.settings,
412 mobileServerUrl: utils.formatUrl(parsedMobileServerUrl),
413 cordovaServerPort: parsedCordovaServerPort });
414 if (buildmessage.jobHasMessages()) return;
415
416 cordovaRunner = new CordovaRunner(cordovaProject, runTargets);
417 cordovaRunner.checkPlatformsForRunTargets();
418 });
419 }
420
421 ensureDevBundleDependencies();
422 prepareCordovaProject();

Callers 2

doRunCommandFunction · 0.85
doTestCommandFunction · 0.85

Calls 2

writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…