4
0
mirror of https://github.com/apache/cordova-android.git synced 2025-03-18 09:57:03 +08:00

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

@ -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 -->