Skip to content

Commit

Permalink
create js-build file with test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
rouffj committed Sep 3, 2011
1 parent 92a4a29 commit 4f9c8d9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions js-build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>

<project name="js" description="" default="">
<target name="lint" description="Pass JsLint on all .js files in ${dir}">
</target>
<target name="test" description="Launch tests in ${dir} with ${configFile}">
<exec command="java -jar ${jstestdriver} --config ${configFile} --tests all --browser open" passthru="true" />
</target>
<target name="server:start" description="Run JsTestDriver Server">
<exec command="java -jar ${jstestdriver} --browser open --port 9876" passthru="true"/>
</target>
<target name="server:test" description="Run JavaScript tests against the server">
<exec command="java -jar ${jstestdriver} --tests all --config ${configFile}" passthru="true"/>
</target>
</project>

0 comments on commit 4f9c8d9

Please sign in to comment.