partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit fd9fe9f52b7fe102abcc6c44f42fdc4aaefe3359
parent 0afd3edefd4fff0931081b544adb55fe582395f8
Author: felicitus <felicitus@feli-t61p.felicitus.dn42>
Date:   Wed, 15 Sep 2010 05:29:38 +0200

Added jslint target, requires jslint (jsl) binary installed in $PATH. Get jslint from http://www.javascriptlint.com/
Diffstat:
Mbuild.xml | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml @@ -69,10 +69,19 @@ <include name="css/**"/> <include name="index.html"/> <include name="service.php"/> - </fileset> </copy> </target> + + <!-- Checks all JavaScript files for common mistakes. Requires JSLint from http://www.javascriptlint.com --> + <target name="jslint"> + <jsllint> + <fileset dir="frontend"> + <include name="**/*.js"/> + </fileset> + </jsllint> + </target> + <target name="test"> <mkdir dir="tests/reports/phpunit"/>