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.
sourceraw 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.
sourceraw 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`.
sourceraw docstring

assoc-git-basicsclj

(assoc-git-basics opts)
source

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
sourceraw 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.
sourceraw docstring

default-optionsclj

source

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.
sourceraw 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.
sourceraw docstring

git-prefix->module-nameclj

(git-prefix->module-name pre)
source

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.
sourceraw docstring

make-contextclj

(make-context opts)
source

module-build-fileclj

source

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.
sourceraw docstring

versionclj

(version context)

Construct a version from a context and git state.

Construct a version from a context and git state.
sourceraw 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.
sourceraw docstring

version-scheme->builderclj

source

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

× close