You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2019/12/23 04:22:28 UTC
[cordova-windows] 01/02: add FUTURE TBD comments to build.js
This is an automated email from the ASF dual-hosted git repository.
brodybits pushed a commit to branch brodybits-uwp-only-test-wip0559
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit fdcfe100ee60a074292b23515bd8b2cee9564ced
Author: Christopher J. Brody <ch...@brody.consulting>
AuthorDate: Sun Dec 22 22:58:47 2019 -0500
add FUTURE TBD comments to build.js
---
template/cordova/lib/build.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index d0efc1a..98b61ad 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -109,6 +109,7 @@ function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig)
}
}
+ // FUTURE TBD consider deprecating `phone` option for future removal
// Windows Phone
if (isPhoneSwitch || noSwitches) { // if --phone or no arg
var windowsPhoneTargetVersion = configXML.getWindowsPhoneTargetVersion();
@@ -178,6 +179,7 @@ function parseAndValidateArgs (options) {
var args = nopt({
'archs': [String],
'appx': String,
+ // FUTURE TBD consider deprecating `phone` option for future removal
'phone': Boolean,
'win': Boolean,
'bundle': Boolean,
@@ -206,6 +208,7 @@ function parseAndValidateArgs (options) {
var archs = options.archs || args.archs;
config.buildArchs = archs ? archs.toLowerCase().split(' ') : ['anycpu'];
+ // FUTURE TBD consider deprecating `phone` option for future removal
config.phone = !!args.phone;
config.win = !!args.win;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org