Skip to content

Commit

Permalink
Automatically update index.html in templates directory on version change
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Apr 13, 2012
1 parent 0772a31 commit f2c38ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/build.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<!-- update project files to reference cordova-x.x.x.min.js --> <!-- update project files to reference cordova-x.x.x.min.js -->
<replaceregexp match="cordova(.*)\.js" replace="cordova-${version}.js" byline="true"> <replaceregexp match="cordova(.*)\.js" replace="cordova-${version}.js" byline="true">
<fileset file="assets/www/index.html" /> <fileset file="assets/www/index.html" />
<fileset file="../bin/templates/project/cordova/templates/project/assets/www/index.html" />
</replaceregexp> </replaceregexp>


<!-- This is sketchy, but it works, ${dblQuote} does not --> <!-- This is sketchy, but it works, ${dblQuote} does not -->
Expand Down

0 comments on commit f2c38ea

Please sign in to comment.