Permalink
Browse files

Add build number to comment top of htc file

  • Loading branch information...
1 parent 9a527d4 commit 743eb6328da107708f094d9742268884e1752677 Jason Johnston committed Jul 12, 2010
Showing with 7 additions and 1 deletion.
  1. +5 −0 build.xml
  2. +2 −1 sources/htc_open.txt
View
@@ -2,6 +2,7 @@
<project name="PIE" default="build" basedir=".">
+ <property name="version" value="1.0beta1" />
<property name="build_dir" value="./build" />
<property name="src_dir" value="./sources" />
@@ -42,6 +43,8 @@
<fileset file="${build_dir}/script_uncompressed.js" />
<fileset file="${src_dir}/htc_close.txt" />
</concat>
+
+ <replace file="${build_dir}/PIE_uncompressed.htc" token="$Version$" value="${version}"/>
</target>
<target name="build-compressed" depends="build-uncompressed">
@@ -68,6 +71,8 @@
<fileset file="${src_dir}/htc_close.txt" />
</concat>
+ <replace file="${build_dir}/PIE.htc" token="$Version$" value="${version}"/>
+
<delete file="${build_dir}/temp.js" />
<delete file="${build_dir}/script_uncompressed.js" />
<delete file="${build_dir}/script_compressed.js" />
@@ -1,5 +1,6 @@
<!--
-PIE: CSS3 for IE
+PIE: CSS3 rendering for IE
+Version $Version$
http://css3pie.com
Licensed for use under the Apache License, Version 2.0
-->

0 comments on commit 743eb63

Please sign in to comment.