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

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)