Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to work with Leiningen 1.6.2 and Clojure 1.2.

  • Loading branch information...
commit 131d1a1ca12868e6488acfb06e865a1e1b93b82b 1 parent 45e8e68
@joshuaeckroth joshuaeckroth authored
Showing with 7 additions and 9 deletions.
  1. +3 −4 project.clj
  2. +4 −5 src/leiningen/radagast.clj
View
7 project.clj
@@ -1,5 +1,4 @@
-(defproject radagast "1.0.0"
+(defproject radagast "1.1.0"
:description "Simplistic test coverage."
- :dev-dependencies [[org.clojure/clojure "1.1.0"]
- [org.clojure/clojure-contrib "1.1.0"]
- [swank-clojure "1.2.1"]])
+ :dev-dependencies [[org.clojure/clojure "1.2.0"]
+ [org.clojure/clojure-contrib "1.2.0"]])
View
9 src/leiningen/radagast.clj
@@ -3,8 +3,7 @@
(defn radagast [project & nses]
(eval-in-project
- project `(do (require '~'radagast.coverage)
- (binding [radagast.coverage/*ns-must-match*
- ~(:radagast/ns-whitelist project)]
- (@(ns-resolve '~'radagast.coverage '~'coverage)
- ~@nses)))))
+ project `(binding [radagast.coverage/*ns-must-match*
+ ~(:radagast/ns-whitelist project)]
+ (radagast.coverage/coverage ~@nses))
+ nil nil '(require 'radagast.coverage)))
Please sign in to comment.
Something went wrong with that request. Please try again.