-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathbb.edn
More file actions
37 lines (35 loc) · 2.88 KB
/
Copy pathbb.edn
File metadata and controls
37 lines (35 loc) · 2.88 KB
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
{:min-bb-version "1.13.220"
:paths ["script" "build"]
:deps {lread/status-line {:git/url "https://github.com/lread/status-line.git"
:sha "eace48e2e0fcc65a3986d696fb0b910fa5790a1c"}
version-clj/version-clj {:mvn/version "2.0.3"}
wevre/natural-compare {:mvn/version "0.0.10"}
io.github.babashka/neil {:git/tag "v0.3.70" :git/sha "2cdd7c6"}}
:tasks {:requires ([clojure.string :as str]
[lread.status-line :as status])
:enter (let [{:keys [name]} (current-task)] (status/line :head "TASK %s %s" name (str/join " " *command-line-args*)))
:leave (let [{:keys [name]} (current-task)] (status/line :detail "\nTASK %s done." name))
:cli helper.cli/base-opts
;; commands
clean {:exec-fn clean/task :doc "delete all build work"}
download-deps {:exec-fn download-deps/task :doc "bring down Clojure deps"}
dev-jvm {:exec-fn dev-repl/dev-jvm :doc "launch jvm nREPL for development"}
dev-cljs {:exec-fn dev-repl/dev-cljs :doc "launch cljs nREPL for development"}
lint-kondo {:exec-fn lint-kondo/task :doc "lint with clj-kondo" }
lint-eastwood {:exec-fn lint-eastwood/task :doc "lint with Eastwood"}
lint-docstrings {:exec-fn lint-docstrings/task :doc "verify that public docstrings match between clj and cljs"}
lint-splint {:extra-deps {io.github.noahtheduke/splint {:mvn/version "1.25.0"}}
:task noahtheduke.splint/-main
:doc "lint with splint"}
test-clj {:exec-fn test-clj/task :doc "run tests against a version of Clojure"}
test-cljs {:exec-fn test-cljs/task :doc "run tests against a ClojureScript environment"}
test-native {:exec-fn test-native/task :doc "run tests natively compiled (requires GraalVM)"}
outdated {:exec-fn outdated/task :doc "report on outdated Clojure dependencies"}
pubcheck {:exec-fn publish/pubcheck :doc "Run only publish checks (without publishing)"}
publish {:exec-fn publish/publish :doc "Publish a release (for maintainers)"}
;; let's not rely on a random version of neil
neil {:task babashka.neil/-main :doc "Pinned version of babashka/neil (used in scripting)"}
;; hidden tasks, no need for folks to be trying these ci invoked tasks
-ci-clojars-deploy {:exec-fn ci-publish/clojars-deploy :doc "triggered on ci by release tag"}
-ci-github-create-release {:exec-fn ci-publish/github-create-release :doc "triggered on ci by release tag"}
-ci-cljdoc-request-build {:exec-fn ci-publish/cljdoc-request-build :doc "ask cljdoc to build docs for new release"}}}