Added a build.xml file to help us removing trailing spaces when needed.

This commit is contained in:
Eduardo Lundgren 2008-11-20 05:18:26 +00:00
parent b70f701f6d
commit 1a6848de17

25
ui/build.xml Normal file
View File

@ -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>