Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 739 Bytes
<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>