Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add build number to comment top of htc file

  • Loading branch information...
commit 743eb6328da107708f094d9742268884e1752677 1 parent 9a527d4
Jason Johnston authored
Showing with 7 additions and 1 deletion.
  1. +5 −0 build.xml
  2. +2 −1  sources/htc_open.txt
View
5 build.xml
@@ -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" />
View
3  sources/htc_open.txt
@@ -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
-->
Please sign in to comment.
Something went wrong with that request. Please try again.