-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to v0.6, update docs and use
bb
as task runner
- Loading branch information
Showing
8 changed files
with
53 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{:paths ["src" "resources"] | ||
:deps {org.clojure/clojure {:mvn/version "1.11.2"} | ||
com.kroo/epilogue {:mvn/version "0.5"} | ||
:deps {org.clojure/clojure {:mvn/version "1.12.0"} | ||
com.kroo/epilogue {:mvn/version "0.6"} | ||
;; Use Logback-classic as the logging backend. | ||
ch.qos.logback/logback-classic {:mvn/version "1.5.3"} | ||
com.kroo/typeset.logback {:mvn/version "0.4"} | ||
ch.qos.logback/logback-classic {:mvn/version "1.5.11"} | ||
com.kroo/typeset.logback {:mvn/version "0.7"} | ||
;; Add SLF4J logging bridges to make logs from other logging libraries go via SLF4J. | ||
org.slf4j/jul-to-slf4j {:mvn/version "2.0.12"} | ||
org.slf4j/jcl-over-slf4j {:mvn/version "2.0.12"} | ||
org.slf4j/log4j-over-slf4j {:mvn/version "2.0.12"}}} | ||
org.slf4j/jul-to-slf4j {:mvn/version "2.0.16"} | ||
org.slf4j/jcl-over-slf4j {:mvn/version "2.0.16"} | ||
org.slf4j/log4j-over-slf4j {:mvn/version "2.0.16"}}} |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
(defproject com.example/logging "1.0" | ||
:dependencies [[org.clojure/clojure "1.11.2"] | ||
[com.kroo/epilogue "0.5"] | ||
:dependencies [[org.clojure/clojure "1.12.0"] | ||
[com.kroo/epilogue "0.6"] | ||
;; Use Logback-classic as the logging backend. | ||
[ch.qos.logback/logback-classic "1.5.3"] | ||
[com.kroo/typeset.logback "0.4"] | ||
[ch.qos.logback/logback-classic "1.5.11"] | ||
[com.kroo/typeset.logback "0.7"] | ||
;; Add SLF4J logging bridges to make logs from other logging libraries go via SLF4J. | ||
[org.slf4j/jul-to-slf4j "2.0.12"] | ||
[org.slf4j/jcl-over-slf4j "2.0.12"] | ||
[org.slf4j/log4j-over-slf4j "2.0.12"]] | ||
[org.slf4j/jul-to-slf4j "2.0.16"] | ||
[org.slf4j/jcl-over-slf4j "2.0.16"] | ||
[org.slf4j/log4j-over-slf4j "2.0.16"]] | ||
;; Make clojure.tools.logging use SLF4J. | ||
:jvm-opts ["-Dclojure.tools.logging.factory=clojure.tools.logging.impl/slf4j-factory"]) |