Pass --grep to mocha from the command line.
[dygraphs.git] / jsdoc-toolkit / java / build_1.4.xml
1 <project default="clean-build"><!-- use this build script if you are stuck with ant version 1.4 -->
2 <target name="clean">
3 <delete dir="build"/>
4 </target>
5
6 <target name="compile">
7 <mkdir dir="build/classes"/>
8 <javac
9 srcdir="src" destdir="build/classes"
10 classpath="./classes/js.jar"
11 />
12 </target>
13
14 <target name="jar">
15 <mkdir dir="build/jar"/>
16 <jar jarfile="build/jar/jsrun.jar" basedir="build/classes">
17 <manifest>
18 <attribute name="Main-Class" value="JsRun"/>
19 <attribute name="Class-Path" value="./java/classes/js.jar"/>
20 </manifest>
21 </jar>
22 </target>
23
24 <target name="debugjar">
25 <mkdir dir="build/jar"/>
26 <jar jarfile="build/jar/jsdebug.jar" basedir="build/classes">
27 <manifest>
28 <attribute name="Main-Class" value="JsDebugRun"/>
29 <attribute name="Class-Path" value="./java/classes/js.jar"/>
30 </manifest>
31 </jar>
32 </target>
33
34 <target name="clean-build" depends="clean,compile,jar"/>
35 <target name="clean-debug" depends="clean,compile,debugjar"/>
36 </project>