MCPcopy
hub / github.com/meteor/meteor / buildForPlatform

Method buildForPlatform

tools/cordova/project.js:286–299  ·  view source on GitHub ↗
(platform, options = {}, extraPaths)

Source from the content-addressed store, hash-verified

284 // Building (includes prepare)
285
286 buildForPlatform(platform, options = {}, extraPaths) {
287 assert(platform);
288
289 const commandOptions = {
290 ...this.defaultOptions,
291 platforms: [platform],
292 options,
293 };
294
295 this.runCommands(`building Cordova app for platform \
296${displayNameForPlatform(platform)}`, async () => {
297 await cordova_lib.build(commandOptions);
298 });
299 }
300
301 // Running
302

Callers 1

buildCommandFunction · 0.80

Calls 3

runCommandsMethod · 0.95
displayNameForPlatformFunction · 0.90
assertFunction · 0.50

Tested by

no test coverage detected