-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to using
bb
as the task runner and doc updates
- Loading branch information
Showing
8 changed files
with
47 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
java temurin-11 | ||
clojure latest | ||
babashka latest | ||
clj-kondo latest | ||
cljfmt latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{:tasks | ||
{:init (do (defn sh [& args] | ||
(binding [*out* *err*] | ||
(apply println "+" args)) | ||
(apply shell args)) | ||
(def clj (partial sh "clojure"))) | ||
check {:doc "Run all pre-commit checks." | ||
:depends [lint fmt test]} | ||
lint {:doc "Lint code." | ||
:task (sh "clj-kondo" "--lint" "src:test")} | ||
fmt {:doc "Format code." | ||
:task (sh "cljfmt" "fix")} | ||
test {:doc "Run test suite." | ||
:task (do | ||
(clj "-T:build" "compile") | ||
(apply clj "-X:test" *command-line-args*))} | ||
build {:doc "Run build functions." | ||
:task (apply clj "-T:build" *command-line-args*)} | ||
outdated {:doc "Check for outdated dependencies." | ||
:task (clj "-T:antq" "outdated")}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters