Skip to content

Commit

Permalink
Add :replace-deps check for Clojure CLI tools.
Browse files Browse the repository at this point in the history
Check for new library versions when dependencies included via the :replace-deps
key in a deps.edn file

Resolves #44
  • Loading branch information
practicalli-johnny committed Dec 6, 2020
1 parent 5d23ee3 commit a869221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. This change

== Unreleased (dev)

* https://github.com/liquidz/antq/issues/44[#44]: Add `:replace-deps` check for Clojure CLI tools.

== 0.9.2 (2020-12-05)
// {{{
=== Changed
Expand Down
2 changes: 1 addition & 1 deletion src/antq/dep/clojure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
edn (edn/read-string deps-edn-content-str)]
(walk/postwalk (fn [form]
(when (and (sequential? form)
(#{:deps :extra-deps} (first form)))
(#{:deps :extra-deps :replace-deps} (first form)))
(swap! deps merge (second form)))
form)
edn)
Expand Down

0 comments on commit a869221

Please sign in to comment.