2016-12-07 14:16:45 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2017-03-07 10:20:22 -05:00
|
|
|
<project name="TranscendentalLisp" basedir="." default="compile">
|
2017-02-09 12:09:51 -05:00
|
|
|
<property name="src.dir" value="src" />
|
|
|
|
<property name="build.dir" value="build" />
|
|
|
|
<property name="classes.dir" value="${build.dir}/classes" />
|
|
|
|
<property name="jar.dir" value="jar" />
|
2017-03-07 10:20:22 -05:00
|
|
|
<property name="jar-file" value="${jar.dir}/TranscendentalLisp.jar" />
|
2017-02-09 12:09:51 -05:00
|
|
|
<property name="main-class" value="main.LispMain" />
|
2016-12-07 14:16:45 -05:00
|
|
|
|
2017-02-09 12:09:51 -05:00
|
|
|
<target name="clean">
|
|
|
|
<delete dir="${build.dir}" />
|
|
|
|
<delete dir="${jar.dir}" />
|
|
|
|
</target>
|
2016-12-07 14:16:45 -05:00
|
|
|
|
2017-02-09 12:09:51 -05:00
|
|
|
<target name="compile">
|
|
|
|
<mkdir dir="${classes.dir}" />
|
|
|
|
<javac srcdir="${src.dir}" destdir="${classes.dir}"
|
|
|
|
includeantruntime="false" />
|
|
|
|
</target>
|
2016-12-07 14:16:45 -05:00
|
|
|
|
2017-02-09 12:09:51 -05:00
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<jar destfile="${jar-file}" basedir="${classes.dir}">
|
|
|
|
<manifest>
|
|
|
|
<attribute name="Main-Class" value="${main-class}" />
|
|
|
|
</manifest>
|
|
|
|
</jar>
|
|
|
|
</target>
|
2016-12-07 14:16:45 -05:00
|
|
|
|
2017-02-09 12:09:51 -05:00
|
|
|
<target name="clean-jar" depends="clean, jar" />
|
2016-12-07 14:16:45 -05:00
|
|
|
</project>
|