-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
23 lines (20 loc) · 739 Bytes
/
build.xml
File metadata and controls
23 lines (20 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<project name="rhino-jspec" basedir="." default="examples">
<macrodef name="run.specs">
<attribute name="src"/>
<sequential>
<apply executable="java" parallel="true">
<arg value="-jar"/>
<arg value="dependencies/jar/js.jar"/>
<arg value="-opt"/>
<arg value="-1"/>
<arg value="lib/bumblebee.js"/>
<fileset dir="@{src}">
<include name="**/*spec.js"/>
</fileset>
</apply>
</sequential>
</macrodef>
<target name="examples" description="Executes the specs in the example directory.">
<run.specs src="examples/spec"/>
</target>
</project>