-
Notifications
You must be signed in to change notification settings - Fork 490
/
build.xml
26 lines (21 loc) · 810 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
<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>