cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [1/8] android commit: Allow `--ant`, `--gradle` for `cordova/run`
Date Tue, 20 Jan 2015 03:04:22 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/4.0.x 3949d9633 -> e671ffdab


Allow `--ant`, `--gradle` for `cordova/run`


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

Branch: refs/heads/4.0.x
Commit: fcece7e1891b0c38d2d430e5228657a968d561dd
Parents: 62c1c5f
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Jan 19 21:49:36 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Jan 19 21:49:36 2015 -0500

----------------------------------------------------------------------
 bin/templates/cordova/lib/run.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/fcece7e1/bin/templates/cordova/lib/run.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/run.js b/bin/templates/cordova/lib/run.js
index db783d9..df8996d 100644
--- a/bin/templates/cordova/lib/run.js
+++ b/bin/templates/cordova/lib/run.js
@@ -39,7 +39,7 @@ var path  = require('path'),
     var list = false;
 
     for (var i=2; i<args.length; i++) {
-        if (/^--(debug|release|nobuild|versionCode=|minSdkVersion=|gradleArg=)/.exec(args[i]))
{
+        if (/^--(debug|release|ant|gradle|nobuild|versionCode=|minSdkVersion=|gradleArg=)/.exec(args[i]))
{
             buildFlags.push(args[i]);
         } else if (args[i] == '--device') {
             install_target = '--device';


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


Mime
View raw message