From 5e342c81bc397b74094e849c28bdd031499b0afb Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Fri, 3 May 2013 16:54:36 -0500 Subject: [PATCH] Override :main ns for lein repl purposes Fixes #47 --- README.md | 6 +++--- project.clj | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0b7eaaf..4ba9368 100644 --- a/README.md +++ b/README.md @@ -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, diff --git a/project.clj b/project.clj index 769f6ce..d2bf039 100644 --- a/project.clj +++ b/project.clj @@ -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)