Added the regexp to remove module closures to the ant build file to be on par with...
authorjaubourg <aubourg.julian@gmail.com>
Sat, 11 Dec 2010 00:56:29 +0000 (01:56 +0100)
committerjaubourg <aubourg.julian@gmail.com>
Sat, 11 Dec 2010 00:56:29 +0000 (01:56 +0100)
build.xml

index af0241a..f6650f4 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -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>