Created
June 27, 2011 17:30
-
-
Save laurendavissmith/1049332 to your computer and use it in GitHub Desktop.
ANT run jshint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-sanitize"> | |
<apply executable="java" parallel="false" failonerror="true"> | |
<fileset dir="${SRC_DIR}" casesensitive="yes"> | |
<include name="**/*.js"/> | |
</fileset> | |
<arg line="-jar"/> | |
<arg path="${RESOURCE_DIR}/rhino.jar"/> | |
<arg path="${RESOURCE_DIR}/jshint-rhino.jar"/> | |
</apply> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to use?