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)
(as-> opts
(reduce (fn [opts alias]
(run-tests (assoc opts :aliases [alias])))
(run-tests (assoc opts :aliases (cond-> [alias]
(not= :cljs alias)
(conj :runner)))))
opts
[:cljs :1.9 :1.10 :master]))
(clean)

View file

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