cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject cordova-windows git commit: Pass Unit Tests for Ignoring case for --archs
Date Wed, 02 Mar 2016 09:32:09 GMT
Repository: cordova-windows
Updated Branches:
  refs/heads/master 1097c4916 -> 32b5bfaa7


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/32b5bfaa
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/32b5bfaa
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/32b5bfaa

Branch: refs/heads/master
Commit: 32b5bfaa7eeb07ec193aa1c2d91c50dc77be1fdd
Parents: 1097c49
Author: Jerroyd Moore <jerroydmoore@gmail.com>
Authored: Tue Mar 1 10:49:14 2016 -0800
Committer: Vladimir Kotikov <kotikov.vladimir@gmail.com>
Committed: Wed Mar 2 12:31:11 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/32b5bfaa/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


Mime
View raw message