cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-7636 Allow using --nobuild flag without screaning
Date Tue, 21 Oct 2014 17:26:42 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 9ab51c2ce -> f33f41678


CB-7636 Allow using --nobuild flag without screaning

github: close #193


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/f33f4167
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/f33f4167
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/f33f4167

Branch: refs/heads/master
Commit: f33f41678001803f799426dd8bfaf7422a8ed878
Parents: 9ab51c2
Author: sgrebnov <v-segreb@microsoft.com>
Authored: Thu Sep 25 12:55:36 2014 +0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Oct 21 13:26:36 2014 -0400

----------------------------------------------------------------------
 src/cli.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/f33f4167/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 3864634..b2f42ea 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -84,6 +84,7 @@ function cli(inputArgs) {
         , 'emulator': Boolean
         , 'target' : String
         , 'browserify': Boolean
+        , 'nobuild': Boolean
         };
 
     var shortHands =
@@ -209,7 +210,7 @@ function cli(inputArgs) {
         // calling into platform code should be dealing with this based
         // on the parsed args object.
         var downstreamArgs = [];
-        var argNames = [ 'debug', 'release', 'device', 'emulator' ];
+        var argNames = [ 'debug', 'release', 'device', 'emulator', 'nobuild'];
         argNames.forEach(function(flag) {
             if (args[flag]) {
                 downstreamArgs.push('--' + flag);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message