You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/07/16 00:38:58 UTC

git commit: createTemplates script copies defaults.xml->config.xml

Repository: cordova-wp8
Updated Branches:
  refs/heads/master 88b09acf2 -> ff530de5d


createTemplates script copies defaults.xml->config.xml


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

Branch: refs/heads/master
Commit: ff530de5de3eb000bf3014b0859bc085caa9771b
Parents: 88b09ac
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Jul 15 15:36:53 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Jul 15 15:36:53 2014 -0700

----------------------------------------------------------------------
 wp8/tooling/scripts/createTemplates.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/ff530de5/wp8/tooling/scripts/createTemplates.js
----------------------------------------------------------------------
diff --git a/wp8/tooling/scripts/createTemplates.js b/wp8/tooling/scripts/createTemplates.js
index 608628f..63aa501 100644
--- a/wp8/tooling/scripts/createTemplates.js
+++ b/wp8/tooling/scripts/createTemplates.js
@@ -216,6 +216,8 @@ function package_templates()
 
     copyFile(repoRoot + '\\VERSION',platformRoot + templatePath);
 
+    copyFile(repoRoot + '\\wp8\\template\\cordova\\defaults.xml',platformRoot + templatePath + '\\config.xml');
+
     // update .vstemplate files for the template zips.
 
     var cleanVersionName = "CordovaWP8_" + versionNum.replace(/\./g, '_');
@@ -296,6 +298,8 @@ function package_templates()
             dest.CopyHere(templateOutFilename, 4|20);
         }
     }
+
+    deleteFileIfExists(platformRoot + templatePath + '\\config.xml');
 }
 
 function zip_project(zip_path, project_path) {