Override :main ns for lein repl purposes

Fixes #47
master
Colin Jones 11 years ago
parent 5207198857
commit 5e342c81bc

@ -23,7 +23,7 @@ exercises you've already completed.
The only things you'll need to run the Clojure Koans are:
- JRE 1.5 or higher
- [clojure-1.5.0.jar](http://repo1.maven.org/maven2/org/clojure/clojure/1.5.0/clojure-1.5.0.zip)
- [clojure-1.5.1.jar](http://repo1.maven.org/maven2/org/clojure/clojure/1.5.1/clojure-1.5.1.zip)
You can use [Leiningen](http://github.com/technomancy/leiningen) to
automatically install the Clojure jar in the right place. Leiningen will also
@ -68,8 +68,8 @@ The output is telling you that you have a failing test in the file named
`01_equalities.clj`, on line 3. So you just need to open that file up and make
it pass! You'll always be filling in the blanks to make tests pass.
Sometimes there could be several correct answers (or even an infinite number):
any of them will work in these cases. Some tests will pass even if you replace
the blanks with whitespace (or nothing) instead of the expected answer. Make sure
any of them will work in these cases. Some tests will pass even if you replace
the blanks with whitespace (or nothing) instead of the expected answer. Make sure
you give one correct expression to replace each blank.
The koans differ from normal TDD in that the tests are already written for you,

@ -1,8 +1,9 @@
(defproject clojure-koans "0.4.9"
(defproject clojure-koans "0.5.0-SNAPSHOT"
:description "The Clojure koans."
:dependencies [[org.clojure/clojure "1.5.0"]
:dependencies [[org.clojure/clojure "1.5.1"]
[koan-engine "0.2.0"]]
:dev-dependencies [[lein-koan "0.1.2"]]
:profiles {:dev {:dependencies [[lein-koan "0.1.2"]]}}
:repl-options {:init-ns user}
:plugins [[lein-koan "0.1.2"]]
:main koan-engine.runner/exec)

Loading…
Cancel
Save