mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Added a build.xml file to help us removing trailing spaces when needed.
This commit is contained in:
parent
b70f701f6d
commit
1a6848de17
25
ui/build.xml
Normal file
25
ui/build.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user