Commit cca12deb authored by Christoph Thelen's avatar Christoph Thelen

Added JSHint syntax linter

parent da09442a
......@@ -4,11 +4,7 @@
<property name="" value="${}/testing/ARSnova" />
<property name="" value="${}/production/ARSnova" />
<property name="build.dir" value="src/main/build" />
<target name="-build:init">
<mkdir dir="${build.dir}" />
<taskdef name="jshint" classname="com.philmander.jshint.JsHintAntTask" classpath="${basedir}/lib/ant-jshint-0.3.6-SNAPSHOT-deps.jar" />
<target name="sencha:refresh">
<exec executable="sencha" dir="${main.dir}" failonerror="true">
......@@ -40,5 +36,11 @@
<target name="jshint">
<jshint dir="${main.dir}/app" includes="**/*.js" globals="Ext:true,console:true,ARSnova:true,socket:true,RSVP:true">
<report type="xml" destFile="${basedir}/target/jshint.xml" />
<target name="run" depends="sencha:refresh, sencha:build:production"/>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment