(->config {:keys [lib-deps maven-repos]} {:keys [m2-dir]})
Converts back to the tools.deps format. Tools.deps only resolves src depenencies (:deps) but not test dependencies (:aliases > :test > :extra-deps) which is the reason we merge :src and :test.
Converts back to the tools.deps format. Tools.deps only resolves src depenencies (:deps) but not test dependencies (:aliases > :test > :extra-deps) which is the reason we merge :src and :test.
(adjust-key {:keys [type path version git/url git/sha git/tag deps/root
exclusions]
old-sha :sha
old-tag :tag})
git deps can have sha or git/sha, tag or git/tag, and deps/root These days, git/url can be omitted and deduced from the lib name.
All deps can have exclusions.
git deps can have sha or git/sha, tag or git/tag, and deps/root These days, git/url can be omitted and deduced from the lib name. All deps can have exclusions.
(convert-dep-to-symbol [library version])
The library names (keys) are stored as strings in the workspace and need to be converted back to symbols here. Library dependencies are stored as :type and :version and need to be translated back to :mvn/version and :local/root.
The library names (keys) are stored as strings in the workspace and need to be converted back to symbols here. Library dependencies are stored as :type and :version and need to be translated back to :mvn/version and :local/root.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close