Merged remove-spaces target (ui/build.xml) into new whitespace target (build/build.xml). Deleted ui/build.xml

This commit is contained in:
Richard Worth 2009-01-22 13:09:18 +00:00
parent f394771349
commit 6b80dc29c8
2 changed files with 8 additions and 24 deletions

View File

@ -198,4 +198,12 @@
</delete>
</target>
<target name="whitespace">
<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>

View File

@ -1,24 +0,0 @@
<?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="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>