(artefact-name context)
The name used to create tag prefixes and maven artifact name.
The name used to create tag prefixes and maven artifact name.
(assoc-computed-keys context)
Adds to a context all the computed info from a base context and git state.
Adds to a context all the computed info from a base context and git state.
(assoc-deps context)
Slurps the build file and adds it to the context under the key :metav/project-deps
.
Slurps the build file and adds it to the context under the key `:metav/project-deps`.
(assoc-names context)
Adds to the context basic names from git state:
:metav/project-name
: from git rev-parse --show-toplevel:metav/module-name
: from git rev-parse --show-prefixAdds to the context basic names from git state: - `:metav/project-name`: from git rev-parse --show-toplevel - `:metav/module-name`: from git rev-parse --show-prefix
(check-repo-in-order context)
Checks that the working dir has a build file and is in a repo which already has at least one commit.
Checks that the working dir has a build file and is in a repo which already has at least one commit.
(definitive-module-name context)
Choose the module name to be used between the one metav generates automaticaly or an overide provided by the user.
Choose the module name to be used between the one metav generates automaticaly or an overide provided by the user.
(full-name context)
Full name of a project, constructed with the project name and the module name.
Full name of a project, constructed with the project name and the module name.
(has-build-file? working-dir)
Checking that the working dir contains a deps.edn
file.
Checking that the working dir contains a `deps.edn` file.
(tag context)
Makes a tag name from a context using the version prefix and the version number.
Makes a tag name from a context using the version prefix and the version number.
(version context)
Construct a version from a context and git state.
Construct a version from a context and git state.
(version-prefix context)
Version prefix in git tags, "v" in dedicated repos "artefact-name-" in monorepos.
Version prefix in git tags, "v" in dedicated repos "artefact-name-" in monorepos.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close