cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject spec commit: updated createmobilespec.js to use --template
Date Tue, 28 Jun 2016 00:39:47 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master ff9f2fa3a -> feec383ac


updated createmobilespec.js to use --template


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/feec383a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/feec383a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/feec383a

Branch: refs/heads/master
Commit: feec383acb257cf1cfd672cae715d1b54704ddfe
Parents: ff9f2fa
Author: Steve Gill <stevengill97@gmail.com>
Authored: Mon Jun 27 17:39:54 2016 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Mon Jun 27 17:39:54 2016 -0700

----------------------------------------------------------------------
 createmobilespec/createmobilespec.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/feec383a/createmobilespec/createmobilespec.js
----------------------------------------------------------------------
diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index 6e43a81..89356ae 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -148,7 +148,6 @@ var top_dir =             process.cwd() + path.sep,
                                                  "\t\t\tUse only when you know what you are
doing, this should be very rare.")
                    .boolean("linkplugins").describe("linkplugins", "Use the --link flag when
running `cordova plugin add`.\n")
                    .boolean("linkplatforms").describe("linkplatforms", "Use the --link flag
when running `cordova platform add`.\n")
-                   .boolean("copywww").describe("copywww", "Use --copy-from instead of --link-to
when running `cordova create`.\n")
                    .boolean("link").describe("link", "Alias for --linkplugins --linkplatforms.\n")
                    .boolean("browserify").describe("browserify", "Use the --browserify flag
when running `cordova plugin add`.\n")
                    .boolean("telerikplugins").describe("telerikplugins", "Adds a bunch of
known-to-be-popular plugins from Telerik-Verified-Plugins.\n")
@@ -486,8 +485,7 @@ if (argv.plugman) {
     // Create the project using "cordova create"
     myDelete(cli_project_dir);
     console.log("Creating project mobilespec...");
-    var copyOrLinkFlag = argv.copywww ? '--copy-from' : '--link-to';
-    shelljs.exec(cli + " create " + projectDirName + " org.apache.cordova.mobilespec MobileSpec_Tests
" + copyOrLinkFlag + " cordova-mobile-spec/www");
+    shelljs.exec(cli + " create " + projectDirName + " org.apache.cordova.mobilespec MobileSpec_Tests
--template cordova-mobile-spec/www");
     shelljs.cp("-f", path.join(mobile_spec_git_dir, 'config.xml'), path.join(projectDirName,
'config.xml'));
 
     // Config.json file ---> linked to local libraries


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


Mime
View raw message