moving run call out of the .clj

This commit is contained in:
Colin Jones 2010-07-13 09:41:25 -05:00
parent 0d1632d3f6
commit 363161727e
3 changed files with 3 additions and 5 deletions

View File

@ -1 +1 @@
java -cp lib/clojure-1.1.0.jar;src clojure.main src/path_to_enlightenment.clj
java -cp lib/clojure-1.1.0.jar;src clojure.main -e '(load "path_to_enlightenment")' -e "(do (in-ns 'path-to-enlightenment) (run))"

2
run.sh
View File

@ -1,2 +1,2 @@
java -cp lib/clojure-1.1.0.jar:src clojure.main src/path_to_enlightenment.clj
java -cp lib/clojure-1.1.0.jar:src clojure.main -e '(load "path_to_enlightenment")' -e "(do (in-ns 'path-to-enlightenment) (run))"
echo

View File

@ -27,7 +27,5 @@
"partial_functions"])
(defn run []
(apply load (map (partial str "koans/") ordered-koans))
(apply load (doall (map (partial str "koans/") ordered-koans)))
(println "You have achieved clojure enlightenment. Namaste."))
(run)