Fix runner/build/gitpod REPL

This commit is contained in:
Sean Corfield 2021-08-17 22:39:07 -07:00
parent ee65201cfc
commit eac5e933c3
2 changed files with 6 additions and 4 deletions

View file

@ -72,7 +72,9 @@
(eastwood) (eastwood)
(as-> opts (as-> opts
(reduce (fn [opts alias] (reduce (fn [opts alias]
(run-tests (assoc opts :aliases [alias]))) (run-tests (assoc opts :aliases (cond-> [alias]
(not= :cljs alias)
(conj :runner)))))
opts opts
[:cljs :1.9 :1.10 :master])) [:cljs :1.9 :1.10 :master]))
(clean) (clean)

View file

@ -16,9 +16,9 @@
{:extra-paths ["test"] {:extra-paths ["test"]
:extra-deps {io.github.cognitect-labs/test-runner :extra-deps {io.github.cognitect-labs/test-runner
{:git/tag "v0.4.0" :git/sha "334f2e2"}} {:git/tag "v0.4.0" :git/sha "334f2e2"}}
;; so we can run both ways: :exec-fn cognitect.test-runner.api/test}
:exec-fn cognitect.test-runner.api/test :runner
:main-opts ["-m" "cognitect.test-runner"]} {:main-opts ["-m" "cognitect.test-runner"]}
:cljs {:extra-deps {olical/cljs-test-runner {:mvn/version "3.8.0"}} :cljs {:extra-deps {olical/cljs-test-runner {:mvn/version "3.8.0"}}
:main-opts ["-m" "cljs-test-runner.main"]} :main-opts ["-m" "cljs-test-runner.main"]}
:readme {:extra-deps {seancorfield/readme {:mvn/version "1.0.16"}} :readme {:extra-deps {seancorfield/readme {:mvn/version "1.0.16"}}