You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2016/03/02 10:35:25 UTC

cordova-windows git commit: CB-10714 Ignore case for --archs [Forced Update!]

Repository: cordova-windows
Updated Branches:
  refs/heads/master 32b5bfaa7 -> 49812d448 (forced update)


CB-10714 Ignore case for --archs

Pass Unit Tests for Ignoring case for --archs
This fixes up commit c9305e5224c63f390aeb8d5ef698bf1e3b7b7f4f. This closes #156


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

Branch: refs/heads/master
Commit: 49812d44847d5f251b036842a22505cfd5634ba9
Parents: 1097c49
Author: Jerroyd Moore <je...@gmail.com>
Authored: Tue Mar 1 10:49:14 2016 -0800
Committer: Vladimir Kotikov <ko...@gmail.com>
Committed: Wed Mar 2 12:34:54 2016 +0300

----------------------------------------------------------------------
 template/cordova/lib/build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/49812d44/template/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index d924627..b890aa5 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -182,7 +182,7 @@ function parseAndValidateArgs(options) {
     config.buildType = options.release ? 'release' : 'debug';
 
     var archs = options.archs || args.archs;
-    config.buildArchs = archs ? archs.split(' ') : ['anycpu'];
+    config.buildArchs = archs ? archs.toLowerCase().split(' ') : ['anycpu'];
 
     config.phone = args.phone ? true : false;
     config.win = args.win ? true : false;


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