Liking cljdoc? Tell your friends :D

metav.domain.context


artefact-nameclj

(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.
raw docstring

assoc-computed-keysclj

(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.
raw docstring

assoc-depsclj

(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`.
raw docstring

assoc-git-basicsclj

(assoc-git-basics opts)

assoc-namesclj

(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-prefix
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-prefix
raw docstring

check-repo-in-orderclj

(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.
raw docstring

default-optionsclj


definitive-module-nameclj

(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.
raw docstring

full-nameclj

(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.
raw docstring

git-prefix->module-nameclj

(git-prefix->module-name pre)

has-build-file?clj

(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.
raw docstring

make-contextclj

(make-context opts)

module-build-fileclj


tagclj

(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.
raw docstring

versionclj

(version context)

Construct a version from a context and git state.

Construct a version from a context and git state.
raw docstring

version-prefixclj

(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.
raw docstring

version-scheme->builderclj

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close