File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 52
52
; ;
53
53
:lint-cache {:replace-paths [" src" ]} ; ; when building classpath we want to exclude resources
54
54
; ; so we do not pick up our own clj-kondo config exports
55
- :clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version " 2024.05.24 " }}
55
+ :clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version " 2024.08.01 " }}
56
56
:override-deps {org.clojure/clojure {:mvn/version " 1.11.3" }}
57
57
:main-opts [" -m" " clj-kondo.main" ]}
58
58
Original file line number Diff line number Diff line change 25
25
with-out-str
26
26
string/trim)
27
27
bb-cp (bbcp/get-classpath )]
28
-
29
- (status/line :detail " - copying configs" )
30
- (shell/command " clojure -M:clj-kondo --skip-lint --copy-configs --lint" clj-cp bb-cp)
31
- (status/line :detail " - creating cache" )
32
- (shell/command " clojure -M:clj-kondo --dependencies --parallel --lint" clj-cp bb-cp)))
28
+ (status/line :detail " - copying lib configs and creating cache" )
29
+ (shell/command " clojure -M:clj-kondo --skip-lint --copy-configs --dependencies --lint" clj-cp bb-cp)))
33
30
34
31
(defn- check-cache [{:keys [rebuild-cache]}]
35
32
(status/line :head " clj-kondo: cache check" )
53
50
(status/line :head " clj-kondo: linting" )
54
51
(let [{:keys [exit]}
55
52
(shell/command {:continue true }
56
- " clojure -M:clj-kondo --lint src test script deps.edn build.clj" )]
53
+ " clojure -M:clj-kondo --parallel -- lint src test script deps.edn build.clj" )]
57
54
(cond
58
55
(= 2 exit) (status/die exit " clj-kondo found one or more lint errors" )
59
56
(= 3 exit) (status/die exit " clj-kondo found one or more lint warnings" )
You can’t perform that action at this time.
0 commit comments