cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject spec commit: Add browser platform support for createmobilespec
Date Fri, 04 Mar 2016 12:56:32 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 6d4a2b768 -> 2c0549a38


Add browser platform support for createmobilespec


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/2c0549a3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/2c0549a3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/2c0549a3

Branch: refs/heads/master
Commit: 2c0549a3855270e03431633dba9a8114a063ba45
Parents: 6d4a2b7
Author: Vladimir Kotikov <kotikov.vladimir@gmail.com>
Authored: Fri Mar 4 14:59:30 2016 +0300
Committer: Vladimir Kotikov <kotikov.vladimir@gmail.com>
Committed: Fri Mar 4 14:59:30 2016 +0300

----------------------------------------------------------------------
 createmobilespec/createmobilespec.js | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/2c0549a3/createmobilespec/createmobilespec.js
----------------------------------------------------------------------
diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index 32bba46..6e43a81 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -100,6 +100,9 @@ var top_dir =             process.cwd() + path.sep,
                             "blackberry10": { "bin": ["cordova-blackberry"],
                                               "www": ["www"],
                                               "config": ["www"] },
+                            "browser": { "bin": ["cordova-browser"],
+                                              "www": ["www"],
+                                              "config": ["www"] },   
                             "ios":          { "bin": ["cordova-ios"],
                                               "www": ["www"],
                                               "config": ["CUSTOM"] },
@@ -120,6 +123,7 @@ var top_dir =             process.cwd() + path.sep,
                    .boolean("debug").describe("debug", "Debug logging.")
                    .boolean("amazon").describe("amazon", "Add Amazon FireOS platform.")
                    .boolean("android").describe("android", "Add Android platform.")
+                   .boolean("browser").describe("browser", "Add Browser platform.")
                    .boolean("blackberry10").describe("blackberry10", "Add BlackBerry 10 platform.")
                    .boolean("ios").describe("ios", "Add iOS platform.")
                    .boolean("osx").describe("osx", "Add osx platform.")
@@ -267,6 +271,7 @@ if (argv.help) { optimist.showHelp(); quit(); }
 if (argv.amazon) { platforms.push("amazon-fireos"); }
 if (argv.android) { platforms.push("android"); }
 if (argv.ios) { platforms.push("ios"); }
+if (argv.browser) { platforms.push("browser"); }
 if (argv.blackberry10) { platforms.push("blackberry10"); }
 if (argv.wp8) { platforms.push("wp8"); }
 if (argv.windows) { platforms.push("windows"); }


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


Mime
View raw message