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/31 16:52:51 UTC

[2/8] cordova-windows git commit: CB-10714 Ignore case for --archs

CB-10714 Ignore case for --archs

Pass Unit Tests for Ignoring case for --archs
This fixes up commit c9305e5224c63f390aeb8d5ef698bf1e3b7b7f4f


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

Branch: refs/heads/4.3.x
Commit: d1ab042cc1bb79642e49fc9125e61df377b4919c
Parents: cd1d4f9
Author: Jerroyd Moore <je...@gmail.com>
Authored: Tue Mar 1 10:49:14 2016 -0800
Committer: Vladimir Kotikov <ko...@gmail.com>
Committed: Thu Mar 31 10:43:02 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/d1ab042c/template/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index 9335223..d482802 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -186,7 +186,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