forked from beckus/AlloyAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
29 lines (25 loc) · 796 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
<project default="all">
<target name="clean">
<delete>
<fileset dir="edu" includes="**/*.class"/>
<fileset dir="java" includes="**/*.class"/>
<fileset dir="java_cup" includes="**/*.class"/>
</delete>
<delete dir="dist"/>
</target>
<path id="src.path">
<pathelement location="edu" />
<pathelement location="java" />
<pathelement location="java_cup" />
</path>
<target name="build">
<javac debug="true" includeAntRuntime="false" classpath=".">
<src refid="src.path" />
</javac>
</target>
<target name="dist" depends="build">
<mkdir dir="dist"/>
<jar destfile="dist/alloy4.2.jar" basedir="." excludes="dist/** build/**" manifest="META-INF/MANIFEST.MF"/>
</target>
<target name="all" depends="dist"/>
</project>