diff options
author | Tom Faulhaber <git_net@infolace.com> | 2009-05-03 23:25:38 +0000 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2009-05-03 23:25:38 +0000 |
commit | 521f90e3e35cdb557519076ccc670c8cbcceaba9 (patch) | |
tree | dff50e85fd1637c2a61c97393d6d6e7f56de9249 /build.xml | |
parent | 0a960a9e64b522606c1ff10218c111ccb9a828a3 (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.xml | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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"> |