Skip to content

Instantly share code, notes, and snippets.

@laurendavissmith
Created June 27, 2011 17:30
Show Gist options
  • Save laurendavissmith/1049332 to your computer and use it in GitHub Desktop.
Save laurendavissmith/1049332 to your computer and use it in GitHub Desktop.
ANT run jshint
<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>
@lorrain
Copy link

lorrain commented Nov 16, 2011

how to use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment