-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce build.boot and boot-alt-test in boot/pod
- Loading branch information
1 parent
cbf11eb
commit 7d8a718
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
(import boot.App) | ||
|
||
(def +version+ (App/config "BOOT_VERSION")) | ||
|
||
(set-env! | ||
:source-paths #{"src" "test"} | ||
:dependencies [['org.clojure/clojure "1.7.0"] ;; has to run 1.7.0 or boot-alt-test will fail | ||
['boot/aether +version+] | ||
['org.tcrawley/dynapath "1.0.0"] | ||
['org.projectodd.shimdandy/shimdandy-impl "1.2.0"] | ||
|
||
['metosin/boot-alt-test "0.3.2" :scope "test"]]) | ||
|
||
(ns-unmap 'boot.user 'test) | ||
|
||
(require '[metosin.boot-alt-test :refer [alt-test]]) | ||
|
||
(deftask test [] | ||
(comp | ||
(with-pass-thru [fs] | ||
(boot.util/info "Testing against version %s\n" (App/config "BOOT_VERSION"))) | ||
(alt-test))) |