You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/10/17 00:53:01 UTC

[08/16] git commit: CB-5066: continuing merge of windows 8 stuff

CB-5066: continuing merge of windows 8 stuff


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

Branch: refs/heads/master
Commit: e13aaf50406fcb4fb615a5215f2fb0e4a2a7188b
Parents: a6929d1
Author: purplecabbage <pu...@gmail.com>
Authored: Fri Sep 27 16:51:54 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Oct 15 14:28:44 2013 -0700

----------------------------------------------------------------------
 src/platform.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e13aaf50/src/platform.js
----------------------------------------------------------------------
diff --git a/src/platform.js b/src/platform.js
index 74122aa..60fb6e6 100644
--- a/src/platform.js
+++ b/src/platform.js
@@ -66,7 +66,6 @@ module.exports = function platform(command, targets) {
         case 'add':
             var config_json = config.read(projectRoot);
 
-
             return hooks.fire('before_platform_add', opts)
             .then(function() {
                 return targets.reduce(function(soFar, t) {
@@ -143,7 +142,6 @@ module.exports = function platform(command, targets) {
         case 'list':
         default:
             var platforms_on_fs = cordova_util.listPlatforms(projectRoot);
-
             return hooks.fire('before_platform_ls')
             .then(function() {
                 // Acquire the version number of each platform we have installed, and output that too.
@@ -167,6 +165,7 @@ module.exports = function platform(command, targets) {
                 if (os.platform() === 'win32') {
                     available.push('wp7');
                     available.push('wp8');
+                    available.push('windows8');
                 }
 
                 available = available.filter(function(p) {