-
-
Notifications
You must be signed in to change notification settings - Fork 121
/
bb.edn
19 lines (19 loc) · 963 Bytes
/
bb.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{:deps {markdown-clj/markdown-clj {:local/root "."}}
:tasks
{test:clj {:doc "Runs tests with JVM Clojure"
:task (clojure "-X:test")}
test:cljs {:doc "Runs tests with ClojureScript"
:task (clojure "-M:cljs-test")}
test:bb {:doc "Runs tests with babashka"
:extra-paths ["test"]
:extra-deps {io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "b3fd0d2"}
org.clojure/tools.namespace
{:git/url "https://github.com/babashka/tools.namespace"
:git/sha "3625153ee66dfcec2ba600851b5b2cbdab8fae6c"}}
:requires ([cognitect.test-runner :as tr])
:task (apply tr/-main "-d" "test" *command-line-args*)}
-npm-install {:task (shell "npm install")}
test:nbb {:doc "Runs tests with nbb"
:depends [-npm-install]
:task (shell "npx nbb test/markdown/nbb_runner.cljs")}}}