From 77aac29e8011d7bc40b38626719911559f146f61 Mon Sep 17 00:00:00 2001 From: Andrea Richiardi Date: Wed, 27 Feb 2019 15:11:21 -0800 Subject: [PATCH] Tweak the :test profile in order to test the new orchard code --- Makefile | 2 +- project.clj | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5072464e7..83bc364e7 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ JAVA_VERSION = $(shell lein with-profile +sysutils \ inline-deps: .inline-deps test: .inline-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 c2a38be38..1af99644f 100644 --- a/project.clj +++ b/project.clj @@ -59,7 +59,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.10.520" :scope "provided"] @@ -70,17 +71,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.520" :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