You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/07 15:57:59 UTC

[cordova-windows] 05/16: add build target override `8.1` (8.1-win + 8.1-phone)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-CB-13829
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git

commit 52427f65a140a477de4fbcd25f082c88634738e6
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Jan 25 17:04:38 2018 +0100

    add build target override `8.1` (8.1-win + 8.1-phone)
---
 template/cordova/lib/build.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index 5a2934d..2f3ef8d 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -81,6 +81,8 @@ module.exports.getBuildTargets = function (isWinSwitch, isPhoneSwitch, projOverr
     // apply build target override if one was specified
     if (projOverride) {
         switch (projOverride.toLowerCase()) {
+        case '8.1':
+            return [projFiles.win, projFiles.phone];
         case '8.1-phone':
             return [projFiles.phone];
         case '8.1-win':

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

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