-
Notifications
You must be signed in to change notification settings - Fork 52
/
bb.edn
22 lines (18 loc) · 1.06 KB
/
bb.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{:deps {io.github.borkdude/lein2deps {:git/url "https://github.com/borkdude/lein2deps"
:git/sha "e26edeb114c9d88a5c4d3abb683306588fcaad13"}}
:tasks
{:requires ([babashka.fs :as fs])
test:clj (shell "lein test")
test:cljs-npm-install (do (shell "npm install -g karma-cli")
(shell "npm install"))
test:cljs (do
(fs/delete-tree "cljs-test-runner-out")
(apply clojure "-M:test:cljs:cljs-test-runner" "--env" "chrome-headless" *command-line-args*))
repl:cljs-node (shell "rlwrap bb clojure -M:test:cljs -m cljs.main -re node")
repl:cljs-browser (shell "rlwrap bb clojure -M:test:cljs -m cljs.main")
quickdoc {:extra-deps {io.github.borkdude/quickdoc {:git/sha "62dd3c6a828c3a5e61bae6ca80c8ba4781356a67"}}
:requires ([quickdoc.api :as api])
:task (api/quickdoc {:source-paths ["src/clj" "src/cljs" "src/cljs"]
:git/branch "master"
:github/repo "https://github.com/clj-commons/hickory"})}}
}