-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.xml
32 lines (22 loc) · 897 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
31
32
<project name='RhinoLink' default='build' basedir='.'>
<property file="build.properties"/>
<path id="pacletTaskClasspath">
<fileset dir="${mathematicaHome}/SystemFiles/Autoload/PacletManager/Java" includes="*.jar"/>
</path>
<!-- Enable paclet task. -->
<taskdef name="paclet" classname="com.wolfram.paclet.PacletTask" classpathref="pacletTaskClasspath"/>
<target name='init'>
<property name='dist' location='build' />
</target>
<target name='clean' depends='init' description='Clean out all previous build products.'>
<delete dir='${dist}'/>
</target>
<target name='build' depends='clean'>
<mkdir dir='${dist}/RhinoLink' />
<copy todir='${dist}/RhinoLink'>
<fileset dir='${basedir}/RhinoLink'>
</fileset>
</copy>
<paclet src="${dist}/RhinoLink" dest="${dist}"/>
</target>
</project>