-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
38 lines (31 loc) · 1.16 KB
/
build.xml
File metadata and controls
38 lines (31 loc) · 1.16 KB
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
33
34
35
36
37
38
<project name="codelapse" default="build" basedir=".">
<property name="src.dir" location="src"/>
<property name="build.dir" location="build"/>
<property name="dist.dir" location="dist"/>
<property name="built.classes.dir" location="${build.dir}/classes"/>
<property name="lib.dir" location="lib"/>
<path id="test.classpath">
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
<path location="${src.dir}"/>
</path>
<target name="init" depends="clean">
<mkdir dir="${build.dir}"/>
<mkdir dir="${built.classes.dir}"/>
<mkdir dir="${dist.dir}"/>
</target>
<target name="build" depends="init"
description="Compile Clojure sources.">
<java classname="clojure.lang.Compile"
classpathref="test.classpath"
failonerror="true">
<sysproperty key="clojure.compile.path" value="${built.classes.dir}"/>
<arg value="com.thoughtworks.codelapse.utils"/>
</java>
</target>
<target name="clean" description="clean up">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
</target>
</project>