aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/build.xml b/build/build.xml
index 863ef6f98..fbacebfac 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -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>