cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [02/27] git commit: Fixing paths for npm published versions
Date Thu, 18 Sep 2014 22:49:37 GMT
Fixing paths for npm published versions


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

Branch: refs/heads/master
Commit: 53f98806eef67a8e103ec49a245ebaafd3db93b5
Parents: 0a19153
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Fri Sep 5 17:39:52 2014 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Fri Sep 5 17:39:52 2014 -0700

----------------------------------------------------------------------
 VERSION                    | 1 -
 wp8/VERSION                | 1 +
 wp8/bin/createTemplates.js | 4 ++--
 wp8/bin/lib/create.js      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/VERSION
----------------------------------------------------------------------
diff --git a/VERSION b/VERSION
deleted file mode 100644
index 9575d51..0000000
--- a/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.6.1

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/wp8/VERSION
----------------------------------------------------------------------
diff --git a/wp8/VERSION b/wp8/VERSION
new file mode 100644
index 0000000..9575d51
--- /dev/null
+++ b/wp8/VERSION
@@ -0,0 +1 @@
+3.6.1

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/wp8/bin/createTemplates.js
----------------------------------------------------------------------
diff --git a/wp8/bin/createTemplates.js b/wp8/bin/createTemplates.js
index d50594b..6f0001f 100644
--- a/wp8/bin/createTemplates.js
+++ b/wp8/bin/createTemplates.js
@@ -175,7 +175,7 @@ function package_templates()
 
     copyCommonScripts();
 
-    copyFile(repoRoot + '\\VERSION',platformRoot + templatePath);
+    copyFile(platformRoot + '\\VERSION',platformRoot + templatePath);
 
     copyFile(repoRoot + '\\wp8\\template\\cordova\\defaults.xml',platformRoot + templatePath
+ '\\config.xml');
 
@@ -320,5 +320,5 @@ function parseArgs() {
 // MAIN
 parseArgs();
 // build/package the templates
-versionNum = read(repoRoot + "\\VERSION");
+versionNum = read(platformRoot + "\\VERSION");
 package_templates(repoRoot);

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/53f98806/wp8/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/wp8/bin/lib/create.js b/wp8/bin/lib/create.js
index b42f03a..ab073ca 100644
--- a/wp8/bin/lib/create.js
+++ b/wp8/bin/lib/create.js
@@ -64,7 +64,7 @@ module.exports.run = function (argv) {
     // Copy the template source files to the new destination
     shell.cp("-rf", path.join(templatePath, '*'), projectPath);
     // Copy our unique VERSION file, so peeps can tell what version this project was created
from.
-    shell.cp("-rf", path.join(platformRoot, "..", 'VERSION'), projectPath);
+    shell.cp("-rf", path.join(platformRoot, 'VERSION'), projectPath);
     // copy the defaults.xml into config.xml so this project can be built when create is
called minus the cordova-cli
     shell.cp(path.join(projectPath, "cordova", "defaults.xml"), path.join(projectPath, "config.xml"));
 


Mime
View raw message