Added the regexp to remove module closures to the ant build file to be on par with the Makefile.

This commit is contained in:
jaubourg 2010-12-11 01:56:29 +01:00
parent 2e129759b4
commit 8ab5e1e45c

View file

@ -76,6 +76,7 @@
<exec executable="git" outputproperty="date">
<arg line="log -1 --pretty=format:%ad" />
</exec>
<replaceregexp match="(\(\s*function\s*\(\s*jQuery\s*\)\s*\{)|(\}\s*\)\s*\(\s*jQuery\s*\)\s*;)" flags="g" replace="" file="${JQ}" />
<replaceregexp match="Date: " replace="Date: ${date}" file="${JQ}" />
<echo message="${JQ} built." />
</target>