Override :main ns for lein repl purposes

Fixes #47
This commit is contained in:
Colin Jones 2013-05-03 16:54:36 -05:00
parent 5207198857
commit 5e342c81bc
2 changed files with 6 additions and 5 deletions

View File

@ -23,7 +23,7 @@ exercises you've already completed.
The only things you'll need to run the Clojure Koans are: The only things you'll need to run the Clojure Koans are:
- JRE 1.5 or higher - 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 You can use [Leiningen](http://github.com/technomancy/leiningen) to
automatically install the Clojure jar in the right place. Leiningen will also 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 `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. 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): 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 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 the blanks with whitespace (or nothing) instead of the expected answer. Make sure
you give one correct expression to replace each blank. you give one correct expression to replace each blank.
The koans differ from normal TDD in that the tests are already written for you, The koans differ from normal TDD in that the tests are already written for you,

View File

@ -1,8 +1,9 @@
(defproject clojure-koans "0.4.9" (defproject clojure-koans "0.5.0-SNAPSHOT"
:description "The Clojure koans." :description "The Clojure koans."
:dependencies [[org.clojure/clojure "1.5.0"] :dependencies [[org.clojure/clojure "1.5.1"]
[koan-engine "0.2.0"]] [koan-engine "0.2.0"]]
:dev-dependencies [[lein-koan "0.1.2"]] :dev-dependencies [[lein-koan "0.1.2"]]
:profiles {: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"]] :plugins [[lein-koan "0.1.2"]]
:main koan-engine.runner/exec) :main koan-engine.runner/exec)