-
Notifications
You must be signed in to change notification settings - Fork 0
/
bb.edn
43 lines (33 loc) · 923 Bytes
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{:paths ["scripts"]
:tasks
{:requires
([core])
test
{:doc "Run unit tests"
:task (clojure "-M:test:test-runner")}
install-git-hooks
{:doc "Install required Git pre-commit hooks"
:task core/setup-git-hooks}
lint
{:doc "Lint the code with clj-kondo"
:task (core/clj-kondo "src" "spec" "test")}
format:check
{:doc "Check the formatting of the code-base"
:task (core/cljfmt "check")}
format:fix
{:doc "Fix the formatting"
:task (core/cljfmt "fix")}
build:clean
{:doc "Remove target directory"
:task (clojure "-T:build" "clean")}
build:jar
{:doc "Build library jar"
:depends [build:clean]
:task (clojure "-T:build" "jar")}
release
{:doc "Create a new tag with release version"
:task (clojure "-T:build" "release")}
deploy:clojars
{:doc "Deploy library to clojars"
:depends [build:jar]
:task (clojure "-T:build" "deploy")}}}