Skip to content

Commit

Permalink
Add build number to comment top of htc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Johnston committed Jul 12, 2010
1 parent 9a527d4 commit 743eb63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build.xml
Expand Up @@ -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" />

Expand Down Expand Up @@ -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">
Expand All @@ -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" />
Expand Down
3 changes: 2 additions & 1 deletion 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
-->
Expand Down

0 comments on commit 743eb63

Please sign in to comment.