Skip to content
Permalink
Browse files

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

  • Loading branch information
eduardolundgren committed Nov 20, 2008
1 parent b70f701 commit 1a6848de17c53e98e9a73e4b60a62b54546f1c6c
Showing with 25 additions and 0 deletions.
  1. +25 −0 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>

0 comments on commit 1a6848d

Please sign in to comment.
You can’t perform that action at this time.