diff --git a/Makefile b/Makefile index dc178b30e..06a98d970 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ JAVA_VERSION = $(shell lein with-profile +sysutils \ source-deps: .source-deps test: .source-deps - lein with-profile +$(CLOJURE_VERSION),+plugin.mranderson/config test + lein with-profile +$(CLOJURE_VERSION),+test,+plugin.mranderson/config test eastwood: lein with-profile +$(CLOJURE_VERSION),+eastwood eastwood diff --git a/project.clj b/project.clj index 6569f66ac..d28208b0d 100644 --- a/project.clj +++ b/project.clj @@ -58,7 +58,8 @@ :dev {:dependencies [[boot/base "2.8.2"] [boot/core "2.8.2"] - [leiningen-core "2.8.3"]]} + [leiningen-core "2.8.3"]] + :global-vars {*assert* true}} :1.8 {:dependencies [[org.clojure/clojure "1.8.0"] [org.clojure/clojurescript "1.8.51" :scope "provided"] @@ -69,17 +70,24 @@ ;; TODO: Merge the tests in this dir in to test/clj once we ;; drop support for Clojure 1.8 :test-paths ["test/spec"]} + :1.10 {:dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.10.439" :scope "provided"]] :test-paths ["test/spec"]} + :master {:repositories [["snapshots" "https://oss.sonatype.org/content/repositories/snapshots"]] :dependencies [[org.clojure/clojure "1.11.0-master-SNAPSHOT"] [org.clojure/clojurescript "1.10.520" :scope "provided"]]} - :test {:source-paths ["test/src"] + :test {:dependencies [[pjstadig/humane-test-output "0.9.0"] + [cider/piggieback "0.4.0"] + [mount "0.1.15"] + [org.clojure/core.async "0.4.490"]] + :source-paths ["test/src"] :java-source-paths ["test/java"] :resource-paths ["test/resources"] - :dependencies [[cider/piggieback "0.4.0"]]} + :injections [(require 'pjstadig.humane-test-output) + (pjstadig.humane-test-output/activate!)]} ;; Need ^:repl because of: https://github.com/technomancy/leiningen/issues/2132 :repl ^:repl [:test