mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Pass buildOptions as object for new cordova-lib version
This commit is contained in:
@@ -977,10 +977,7 @@ on an OS X system.");
|
||||
buildmessage.enterJob(
|
||||
{ title: `building Cordova app for \
|
||||
${cordova.displayNameForPlatform(platform)}` }, () => {
|
||||
let buildOptions = [];
|
||||
if (!options.debug) {
|
||||
buildOptions.push('--release');
|
||||
}
|
||||
let buildOptions = { release: !options.debug };
|
||||
cordovaProject.buildForPlatform(platform, buildOptions);
|
||||
|
||||
const buildPath = files.pathJoin(
|
||||
|
||||
2
tools/cordova/project.js
vendored
2
tools/cordova/project.js
vendored
@@ -185,7 +185,7 @@ ${displayNameForPlatform(platform)}`, async () => {
|
||||
|
||||
// Building (includes prepare)
|
||||
|
||||
buildForPlatform(platform, options = [], extraPaths) {
|
||||
buildForPlatform(platform, options = {}, extraPaths) {
|
||||
assert(platform);
|
||||
|
||||
const commandOptions = _.extend(this.defaultOptions,
|
||||
|
||||
Reference in New Issue
Block a user