Skip org.clojure/clojure in deps.edn without warning
jolt is Clojure, so a dep on org.clojure/clojure is always satisfied intrinsically — the "skipping unsupported coordinate" warning on its :mvn/version coordinate was just noise. Other unsupported mvn coords still warn.
This commit is contained in:
parent
4398e2cf6c
commit
f9fcbc37fd
1 changed files with 4 additions and 0 deletions
|
|
@ -66,6 +66,10 @@
|
||||||
(if-let [root (:deps/root spec)] (str checkout "/" root) checkout))
|
(if-let [root (:deps/root spec)] (str checkout "/" root) checkout))
|
||||||
(:jolt/module spec)
|
(:jolt/module spec)
|
||||||
(do (warn "skipping janet dependency " coord " (:jolt/module is obsolete on Chez)") nil)
|
(do (warn "skipping janet dependency " coord " (:jolt/module is obsolete on Chez)") nil)
|
||||||
|
;; jolt IS Clojure — a dependency on org.clojure/clojure is satisfied
|
||||||
|
;; intrinsically, so skip it silently rather than warning about the (unusable)
|
||||||
|
;; :mvn/version coordinate.
|
||||||
|
(= coord 'org.clojure/clojure) nil
|
||||||
:else
|
:else
|
||||||
(do (warn "skipping unsupported coordinate " coord " " (pr-str spec)) nil)))
|
(do (warn "skipping unsupported coordinate " coord " " (pr-str spec)) nil)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue