-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb.edn
21 lines (19 loc) · 1.17 KB
/
bb.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{:paths ["scripts"]
:tasks
{lint (shell "clj-kondo --lint src --fail-level error")
repl (shell "clojure -A:dev")
compile (shell "clojure -T:build compile-java-dev")
repl-portal (shell "clojure -A:dev -M:inspect/portal-cli-cider")
repl-term (shell "clojure -A:test -A:dev -M:repl/cider-refactor")
npm-install (shell {:dir "./"} "npm" "install")
repl-ui {:depends [npm-install]
:task (shell {:dir "./"} "npx shadow-cljs -A dev watch app")}
tailwind-css (shell {:dir "./"} "npx" "tailwindcss" "-i" "resources/public/css/main.css" "-o" "resources/public/css/compiled/main.css")
watch-css (shell {:dir "./"} "npx" "tailwindcss" "-w" "-i" "resources/public/css/main.css" "-o" "resources/public/css/compiled/main.css")
prod-css (shell {:dir "./"} "npx" "tailwindcss" "-i" "resources/public/css/main.css" "-o" "resources/public/css/compiled/main.css" "--minify")
clean (shell "clojure -T:build clean")
uberjar (shell "clojure -T:build uberjar")
test (shell "./bin/kaocha")
container-build {:task (exec 'container/build)}
container-publish {:task (exec 'container/publish)}
container-publish-latest {:task (exec 'container/publish-latest)}}}