Skip to content

Commit

Permalink
Adding JSLint jar
Browse files Browse the repository at this point in the history
Initial commit for JSLint smoke tests
  • Loading branch information
nschonni committed Aug 21, 2012
1 parent 0a637f2 commit 1f82c48
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
@@ -1,4 +1,7 @@
language: java

script:
- ant
- ant

test:
- ant test
8 changes: 8 additions & 0 deletions build.xml
Expand Up @@ -2,6 +2,7 @@
<project name="wet" default="default" basedir=".">
<description>Web Experience Toolkit</description>
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>

<target name="default" depends="clean,build" description="Performs a Cleand and Build when calling ant without any target"></target>

Expand Down Expand Up @@ -35,4 +36,11 @@
<ant dir="${src.dir}/theme-gcwu-intranet" target="clean" antfile="build.xml" inheritAll="false"/>
<delete dir="${dist.dir}" />
</target>

<target name="test">
<jslint>
<formatter type="plain" />
<fileset dir="${build.dir}" includes="*.js" />
</jslint>
</target>
</project>
3 changes: 3 additions & 0 deletions build/build-tasks.xml
Expand Up @@ -81,4 +81,7 @@
</antcall>
<echo level="info" message="---Watching for SCSS Changes in CSS Directory---"/>
</target>

<!-- JSLint Ant task -->
<taskdef uri="antlib:com.googlecode.jslint4java" resource="com/googlecode/jslint4java/antlib.xml" classpathref="ant.tasks.classpath" />
</project>
Binary file added build/lib/jslint4java-2.0.2.jar
Binary file not shown.

0 comments on commit 1f82c48

Please sign in to comment.