diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-20 05:18:26 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-20 05:18:26 +0000 |
commit | 1a6848de17c53e98e9a73e4b60a62b54546f1c6c (patch) | |
tree | 2ced430c756773eeccd32e5f000f4968d7850624 /ui | |
parent | b70f701f6d2c5fd032f07820172747eb313bf254 (diff) | |
download | jquery-ui-1a6848de17c53e98e9a73e4b60a62b54546f1c6c.tar.gz jquery-ui-1a6848de17c53e98e9a73e4b60a62b54546f1c6c.zip |
Added a build.xml file to help us removing trailing spaces when needed.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/build.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/build.xml b/ui/build.xml new file mode 100644 index 000000000..4c76c0225 --- /dev/null +++ b/ui/build.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="iso-8859-1"?> + +<!-- + jQuery UI Tasks + @author Eduardo Lundgren (eduardolundgren@gmail.com) +--> + +<project name="jquery-ui" default="remove-spaces" basedir="."> + + <target name="load.properties"> + <property file="ant.properties" /> + <property name="version" value="1.6" /> + <property name="ui.dir" value="." /> + <property name="src.dir" value="${ui.dir}/" /> + </target> + + <target name="remove-spaces" depends="load.properties"> + <replaceregexp match="[\t ]+$" replace="" flags="g" byline="true"> + <fileset dir="${src.dir}" includes="*.js"/> + <fileset dir="${src.dir}/i18n/" includes="*.js"/> + </replaceregexp> + <echo message="All trailing spaces removed." /> + </target> + +</project>
\ No newline at end of file |