Skip to content

Commit

Permalink
Tweak the :test profile in order to test the new orchard code
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiardi committed Apr 4, 2019
1 parent 73ebb13 commit 77aac29
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 11 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand Down

0 comments on commit 77aac29

Please sign in to comment.