Automatically update index.html in templates directory on version change

This commit is contained in:
macdonst 2012-04-13 16:36:46 -04:00
parent 0772a315c4
commit f2c38ea0a7

View File

@ -122,6 +122,7 @@
<!-- update project files to reference cordova-x.x.x.min.js -->
<replaceregexp match="cordova(.*)\.js" replace="cordova-${version}.js" byline="true">
<fileset file="assets/www/index.html" />
<fileset file="../bin/templates/project/cordova/templates/project/assets/www/index.html" />
</replaceregexp>
<!-- This is sketchy, but it works, ${dblQuote} does not -->