diff --git a/Makefile b/Makefile index ee6b9c52..c9494450 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,7 @@ deploy: .deployed .tested: bin/boot (export BOOT_VERSION=$(version) && export BOOT_EMIT_TARGET=no && cd boot/core && ../../bin/boot -x test) (export BOOT_VERSION=$(version) && export BOOT_EMIT_TARGET=no && cd boot/worker && ../../bin/boot -x test) - (cd boot/pod && lein test) + (export BOOT_VERSION=$(version) && export BOOT_EMIT_TARGET=no && cd boot/pod && ../../bin/boot -x test) date > .tested test: .installed .tested diff --git a/boot/pod/build.boot b/boot/pod/build.boot new file mode 100644 index 00000000..7eae50d6 --- /dev/null +++ b/boot/pod/build.boot @@ -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)))