summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 2fa8d8bd..b37adefc 100644
--- a/build.xml
+++ b/build.xml
@@ -9,6 +9,7 @@
</description>
<property name="src" location="src"/>
+ <property name="test" location="test"/>
<property name="jsrc" location="${src}/jvm"/>
<property name="cljsrc" location="${src}/clj"/>
<property name="build" location="classes"/>
@@ -92,6 +93,11 @@
<arg value="clojure.xml"/>
<arg value="clojure.zip"/>
<arg value="clojure.inspector"/>
+ <arg value="clojure.walk"/>
+ <arg value="clojure.stacktrace"/>
+ <arg value="clojure.template"/>
+ <arg value="clojure.test"/>
+ <arg value="clojure.test.tap"/>
</java>
</target>
@@ -110,6 +116,19 @@
<copy file="${clojure_jar}" tofile="${clojure_noversion_jar}" />
</target>
+ <target name="test"
+ description="Run clojure tests">
+<!-- depends="clojure"> -->
+ <java classname="clojure.main">
+ <classpath>
+ <path location="${test}"/>
+ <path location="${clojure_jar}"/>
+ </classpath>
+ <arg value="-e"/>
+ <arg value="(require '(clojure [test-clojure :as main])) (main/run)"/>
+ </java>
+ </target>
+
<target name="clojure-slim" depends="compile-java"
description="Create clojure-slim jar file (omits compiled Clojure code)">
<jar jarfile="${slim_jar}">