mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Allow passing of arguments to configure-android
Args are passed through to the android tool Useful commands: configure-android avd configure-android list avd configure-android -- delete avd --name meteor (Note the extra -- to delineate the args) (Note #2: the delete avd command doesn't seem to actually work, though this appears to be an Android bug - it says that is has deleted it, but it is still there!)
This commit is contained in:
@@ -878,8 +878,14 @@ main.registerCommand({
|
||||
name: "configure-android",
|
||||
options: {
|
||||
verbose: { type: Boolean, short: "v" }
|
||||
}
|
||||
},
|
||||
minArgs: 0,
|
||||
maxArgs: Infinity
|
||||
}, function (options) {
|
||||
return execFileSyncOrThrow(localAndroid, [], options);
|
||||
cordova.setVerboseness(options.verbose);
|
||||
|
||||
var androidArgs = options.args || [];
|
||||
var execOptions = { pipeOutput: true, verbose: options.verbose };
|
||||
execFileSyncOrThrow(localAndroid, androidArgs, execOptions);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user