cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [3/7] git commit: fixed typo, added template file
Date Fri, 31 May 2013 20:23:36 GMT
fixed typo, added template file


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

Branch: refs/heads/master
Commit: ab284ef2b447eab19bad669438f465c2bf42bd3c
Parents: 8a28624
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Wed May 29 17:53:02 2013 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Wed May 29 17:53:02 2013 -0700

----------------------------------------------------------------------
 windows8/template/MyTemplate.vstemplate |   44 ++++++++++++++++++++++++++
 windows8/template/cordova/lib/build.js  |    2 +-
 2 files changed, 45 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/ab284ef2/windows8/template/MyTemplate.vstemplate
----------------------------------------------------------------------
diff --git a/windows8/template/MyTemplate.vstemplate b/windows8/template/MyTemplate.vstemplate
new file mode 100644
index 0000000..01f7e6f
--- /dev/null
+++ b/windows8/template/MyTemplate.vstemplate
@@ -0,0 +1,44 @@
+<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"
Type="Project">
+  <TemplateData>
+    <Name>CordovaAppWin8</Name>
+    <Description>CordovaAppWin8</Description>
+    <ProjectType>JavaScript</ProjectType>
+    <ProjectSubType>
+    </ProjectSubType>
+    <SortOrder>1000</SortOrder>
+    <CreateNewFolder>true</CreateNewFolder>
+    <DefaultName>CordovaAppWin8</DefaultName>
+    <ProvideDefaultName>true</ProvideDefaultName>
+    <LocationField>Enabled</LocationField>
+    <EnableLocationBrowseButton>true</EnableLocationBrowseButton>
+    <Icon>__TemplateIcon.ico</Icon>
+  </TemplateData>
+  <TemplateContent>
+    <Project TargetFileName="CordovaApp.jsproj" File="CordovaApp.jsproj" ReplaceParameters="true">
+      <Folder Name="images" TargetFolderName="images">
+        <ProjectItem ReplaceParameters="false" TargetFileName="logo.png">logo.png</ProjectItem>
+        <ProjectItem ReplaceParameters="false" TargetFileName="smalllogo.png">smalllogo.png</ProjectItem>
+        <ProjectItem ReplaceParameters="false" TargetFileName="splashscreen.png">splashscreen.png</ProjectItem>
+        <ProjectItem ReplaceParameters="false" TargetFileName="storelogo.png">storelogo.png</ProjectItem>
+      </Folder>
+      <Folder Name="www" TargetFolderName="www">
+        <Folder Name="css" TargetFolderName="css">
+          <ProjectItem ReplaceParameters="true" TargetFileName="index.css">index.css</ProjectItem>
+        </Folder>
+        <Folder Name="img" TargetFolderName="img">
+          <ProjectItem ReplaceParameters="false" TargetFileName="logo.png">logo.png</ProjectItem>
+          <ProjectItem ReplaceParameters="false" TargetFileName="smalllogo.png">smalllogo.png</ProjectItem>
+          <ProjectItem ReplaceParameters="false" TargetFileName="splashscreen.png">splashscreen.png</ProjectItem>
+          <ProjectItem ReplaceParameters="false" TargetFileName="storelogo.png">storelogo.png</ProjectItem>
+        </Folder>
+        <Folder Name="js" TargetFolderName="js">
+          <ProjectItem ReplaceParameters="true" TargetFileName="index.js">index.js</ProjectItem>
+        </Folder>
+        <ProjectItem ReplaceParameters="true" TargetFileName="cordova.js">cordova.js</ProjectItem>
+        <ProjectItem ReplaceParameters="true" TargetFileName="index.html">index.html</ProjectItem>
+      </Folder>
+      <ProjectItem ReplaceParameters="false" TargetFileName="CordovaApp_TemporaryKey.pfx">CordovaApp_TemporaryKey.pfx</ProjectItem>
+      <ProjectItem ReplaceParameters="true" TargetFileName="package.appxmanifest">package.appxmanifest</ProjectItem>
+    </Project>
+  </TemplateContent>
+</VSTemplate>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/ab284ef2/windows8/template/cordova/lib/build.js
----------------------------------------------------------------------
diff --git a/windows8/template/cordova/lib/build.js b/windows8/template/cordova/lib/build.js
index a307be2..5cc0533 100644
--- a/windows8/template/cordova/lib/build.js
+++ b/windows8/template/cordova/lib/build.js
@@ -71,7 +71,7 @@ function exec_verbose(command) {
     }
 }
 
-// checks to see if a .csproj file exists in the project root
+// checks to see if a .jsproj file exists in the project root
 function is_cordova_project(path) {
     if (fso.FolderExists(path)) {
         var proj_folder = fso.GetFolder(path);


Mime
View raw message