-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
30 lines (26 loc) · 927 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<project name="CiphorJS" basedir="." default="run-tests">
<scriptdef name="rhinounit"
src="lib/rhinounit/src/rhinoUnitAnt.js"
language="javascript">
<attribute name="options"/>
<attribute name="ignoredglobalvars"/>
<attribute name="haltOnFirstFailure"/>
<attribute name="rhinoUnitUtilPath"/>
<element name="fileset" type="fileset"/>
</scriptdef>
<target name="run-unit-tests">
<rhinounit options="{verbose:true, stackTrace:true}" haltOnFirstFailure="false" rhinoUnitUtilPath="lib/rhinounit/src/rhinoUnitUtil.js">
<fileset dir="test">
<include name="Test*.js"/>
</fileset>
</rhinounit>
</target>
<target name="run-jasmine-tests">
<exec executable="jasmine-node">
<arg value="--verbose"/>
<arg value="--coffee"/>
<arg value="."/>
</exec>
</target>
<target name="run-tests" depends="run-unit-tests,run-jasmine-tests"/>
</project>