This doc explains, by example, all the possible variations of the coordinate map you would use to specify cssyes as a git dependency.
:git/url is required. The library is named design.kushi/cssyes, so the git URL cannot be inferred.
:git/sha is always required.
:git/tag is an optional readable label.
;; deps.edn
{:deps {design.kushi/cssyes
{:git/url "https://github.com/kushidesign/cssyes"
:git/tag "<no tag yet>"
:git/sha ""}}}
The coordinate map in the example above can take several forms, outlined in the sections below.
The :git/tag entry documents which release the SHA corresponds to.
design.kushi/cssyes
{:git/url "https://github.com/kushidesign/cssyes"
:git/tag "<no tag yet>"
:git/sha ""}
design.kushi/cssyes
{:git/url "https://github.com/kushidesign/cssyes"
:git/sha ""}
If you'd rather not copy the SHA by hand, write the dependency with just
the :git/url and :git/tag entries:
design.kushi/cssyes
{:git/url "https://github.com/kushidesign/cssyes"
:git/tag "<no tag yet>"}
then run:
clojure -X:deps git-resolve-tags
This scans your deps.edn for git deps that have a :git/tag but no
:git/sha, resolves each tag to its commit SHA, and writes the SHA back
into the file in place. It needs a :git/tag to resolve from. It will not help
the SHA-only form.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |