moving run call out of the .clj
This commit is contained in:
parent
0d1632d3f6
commit
363161727e
2
run.bat
2
run.bat
@ -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
2
run.sh
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user