-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb.edn
27 lines (27 loc) · 1.27 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
23
24
25
26
27
{:paths ["src"]
:tasks
{nrepl {:doc "Starts the REPL"
:task (shell "basilisp nrepl-server")}
kondo {:doc "Runs kondo linter on default or specific file"
:task (let [[src-file] *command-line-args*]
(shell (str "clj-kondo --lint "
(if (empty? src-file)
"src"
src-file))))}
style {:doc "Checks code style on default or specific file"
:task (let [[src-file] *command-line-args*]
(shell (str "cljstyle check "
(if (empty? src-file)
"src test resources"
src-file))))}
format {:doc "Formats codebase on default or specific file"
:task (let [[src-file] *command-line-args*]
(shell (str "cljstyle fix "
(if (empty? src-file)
"src test resources"
src-file))))}
app {:doc "Run the application"
:requires ([clojure.string :as str])
:task (shell (str "uv run steno "
(str/join " " *command-line-args*)))}
}}