privacyguides.org/js/build.xml

27 lines
810 B
XML
Raw Normal View History

2015-07-08 08:30:48 -04:00
<project name="tablesorter" default="default" basedir=".">
<!-- SETUP -->
<property description="Files for parsing etc." name="BUILD_DIR" value="build" />
<property description="Rhino JS Engine" name="JAR" value="${BUILD_DIR}/js.jar" />
<!-- Files names for distribution -->
<property name="TS" value="jquery.tablesorter.js" />
<property name="TS_MIN" value="jquery.tablesorter.min.js" />
<!-- MAIN -->
<target name="min">
<echo message="Building ${TS_MIN}" />
<java jar="${JAR}" fork="true">
<arg value="${BUILD_DIR}/min.js" />
<arg value="${TS}" />
<arg value="${TS_MIN}" />
</java>
<echo message="${TS_MIN} built." />
</target>
<target name="default">
<antcall target="min"/>
</target>
</project>