You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ni...@apache.org on 2016/02/29 19:04:17 UTC
cordova-windows git commit: Ignore case for --archs
Repository: cordova-windows
Updated Branches:
refs/heads/master a3536eccd -> c9305e522
Ignore case for --archs
If "ARM" is passed to --archs, the Appx file is compiled, but the build
will fail due to a case sensitive string comparison.
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/c9305e52
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/c9305e52
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/c9305e52
Branch: refs/heads/master
Commit: c9305e5224c63f390aeb8d5ef698bf1e3b7b7f4f
Parents: a3536ec
Author: Jerroyd Moore <je...@intel.com>
Authored: Fri Feb 26 14:16:18 2016 -0800
Committer: Jerroyd Moore <je...@intel.com>
Committed: Fri Feb 26 14:16:18 2016 -0800
----------------------------------------------------------------------
template/cordova/lib/build.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/c9305e52/template/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index d924627..db1f09e 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -181,7 +181,7 @@ function parseAndValidateArgs(options) {
// get build options/defaults
config.buildType = options.release ? 'release' : 'debug';
- var archs = options.archs || args.archs;
+ var archs = options.archs || args.archs.toLowerCase();
config.buildArchs = archs ? archs.split(' ') : ['anycpu'];
config.phone = args.phone ? true : false;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org