Clean trailing whitespace from all files.
[jquery.git] / build.xml
index af0241a..6a28aa8 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -76,7 +76,8 @@
                <exec executable="git" outputproperty="date">
                        <arg line="log -1 --pretty=format:%ad" />
                </exec>
-               <replaceregexp match="Date: " replace="Date: ${date}" file="${JQ}" />
+               <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}" file="${JQ}" />
                <echo message="${JQ} built." />
        </target>