Commits

Anonymous committed 133385d

Added new clojure-repl target that will generate clojure script in base dir that can be used to start clojure repl.

Comments (0)

Files changed (2)

 build/*
 ivy/*
 local.properties
+clojure
 dist/*
             <fileset dir='${dist}'/>
         </delete>
     </target>
+
+    <!--
+    Clojure targets.
+    -->
+
+    <target name='clojure-repl'>
+        <echo file='${basedir}/clojure'>
+            CLOJURE_CP=$JAVA_CLASSPATH:${lib}/*:${src}:${build.classes}
+        java -cp $CLOJURE_CP jline.ConsoleRunner clojure.lang.Repl
+        </echo>
+        <chmod file='${basedir}/clojure' perm='+x'/>
+    </target>
 </project>