Skip to content

Commit 4578fa0

Browse files
committed
dev: bump clj-kondo
Because who can resist, right? Clj-kondo now supports copying configs and generating the cache for dependencies in one step, so move to that.
1 parent 2c8fd8b commit 4578fa0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
slipset/deps-deploy {:mvn/version "0.2.2"}}
1111
:ns-default build}
1212
:uber {:extra-paths ["test"]}
13-
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2024.05.24"}}
13+
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2024.08.01"}}
1414
:main-opts ["-m" "clj-kondo.main"]}
1515
:test {:extra-paths ["test"]
1616
:extra-deps {io.github.cognitect-labs/test-runner

scripts/lint.clj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
with-out-str
2424
string/trim)
2525
bb-cp (bbcp/get-classpath)]
26-
(status/line :detail "- copying configs")
27-
(t/clojure "-M:clj-kondo --skip-lint --copy-configs --lint" clj-cp bb-cp)
28-
(status/line :detail "- creating cache")
29-
(t/clojure "-M:clj-kondo --dependencies --lint" clj-cp bb-cp)))
26+
(status/line :detail "- copying libs and creating cache")
27+
(t/clojure "-M:clj-kondo --skip-lint --copy-configs --dependencies --parallel --lint" clj-cp bb-cp)))
3028

3129
(defn- check-cache [{:keys [rebuild]}]
3230
(status/line :head "clj-kondo: cache check")
@@ -50,7 +48,7 @@
5048
(status/line :head "clj-kondo: linting")
5149
(let [{:keys [exit]}
5250
(t/clojure {:continue true}
53-
"-M:clj-kondo --lint src test scripts build.clj build_shared.clj deps.edn bb.edn")]
51+
"-M:clj-kondo --parallel --lint src test scripts build.clj build_shared.clj deps.edn bb.edn")]
5452
(cond
5553
(= 2 exit) (status/die exit "clj-kondo found one or more lint errors")
5654
(= 3 exit) (status/die exit "clj-kondo found one or more lint warnings")

0 commit comments

Comments
 (0)