forked from github/cordova-android
CB-10112 Parse additional CLI arguments properly. This closes #241
This commit is contained in:
Vendored
+3
-3
@@ -61,13 +61,13 @@ function parseOpts(options, resolvedTarget) {
|
||||
if (options.nobuild) ret.buildMethod = 'none';
|
||||
|
||||
if (options.argv.versionCode)
|
||||
ret.extraArgs.push('-PcdvVersionCode=' + options.versionCode);
|
||||
ret.extraArgs.push('-PcdvVersionCode=' + options.argv.versionCode);
|
||||
|
||||
if (options.argv.minSdkVersion)
|
||||
ret.extraArgs.push('-PcdvMinSdkVersion=' + options.minSdkVersion);
|
||||
ret.extraArgs.push('-PcdvMinSdkVersion=' + options.argv.minSdkVersion);
|
||||
|
||||
if (options.argv.gradleArg)
|
||||
ret.extraArgs.push(options.gradleArg);
|
||||
ret.extraArgs.push(options.argv.gradleArg);
|
||||
|
||||
var packageArgs = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user