Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fixing paths for npm published versions
  • Loading branch information
purplecabbage committed Sep 6, 2014
1 parent 0a19153 commit 53f98806eef67a8e103ec49a245ebaafd3db93b5
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
@@ -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);
@@ -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"));

0 comments on commit 53f9880

Please sign in to comment.