-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
25 lines (22 loc) · 864 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
<project name="ArithmeticGen" default="jar" basedir=".">
<property name="src" location="." />
<property name="build" location="build" />
<property name="processing" location="build/processing" />
<property name="lib" location="build/lib" />
<property name="data" location="data" />
<target name="compile">
<exec dir="${src}" executable="processing-java">
<arg line='--sketch="${src}" --output="${processing}" --force --build' />
</exec>
</target>
<target name="jar" depends="compile">
<jar destfile="${build}/Main.jar" basedir="${processing}">
<fileset dir="${data}" includes="**" />
<zipgroupfileset dir="${lib}" includes="*.jar" />
<manifest>
<attribute name="DependencyFinder" value="main" />
<attribute name="Main-Class" value="Snap" />
</manifest>
</jar>
</target>
</project>