aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorTom Faulhaber <git_net@infolace.com>2009-05-03 23:25:38 +0000
committerTom Faulhaber <git_net@infolace.com>2009-05-03 23:25:38 +0000
commit521f90e3e35cdb557519076ccc670c8cbcceaba9 (patch)
treedff50e85fd1637c2a61c97393d6d6e7f56de9249 /build.xml
parent0a960a9e64b522606c1ff10218c111ccb9a828a3 (diff)
Added an ant target to compile the minimal set of classes, just those
that do gen-class.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 32b05b2a..fb657f81 100644
--- a/build.xml
+++ b/build.xml
@@ -85,6 +85,21 @@
</echo>
</target>
+ <target name="compile_classes" depends="init,check_hasclojure"
+ description="Compile the clojure files that have gen-class."
+ if="hasclojure">
+ <java classname="clojure.lang.Compile">
+ <classpath>
+ <path location="${build}"/>
+ <path location="${src}"/>
+ <path location="${clojure.jar}"/>
+ </classpath>
+ <sysproperty key="clojure.compile.path" value="${build}"/>
+ <arg value="clojure.contrib.pprint.ColumnWriter"/>
+ <arg value="clojure.contrib.pprint.PrettyWriter"/>
+ </java>
+ </target>
+
<target name="compile_clojure" depends="init,check_hasclojure"
description="Compile Clojure sources."
if="hasclojure">