Liking cljdoc? Tell your friends :D

lein-git-version.plugin

The lein-git-version plugin as loaded by lein itself.

The lein-git-version plugin as loaded by lein itself.
raw docstring

default-configclj

The default configuration values.

The default configuration values.
raw docstring

default-status-to-versionclj

(default-status-to-version {:keys [tag version branch ahead ahead? dirty?]
                            :as git})

A function you may want use for :status-to-version

A function you may want use for :status-to-version
raw docstring

middlewareclj

(middleware
  {:keys [git-version name root] project-version :version :as project})

Leiningen middleware.

Function of a project to a project which inserts git status and ref information.

Tries to unconditionally create the :ref, :ref-short, :tag, :ahead, :ahead? and :dirty? keys in the leiningen project map. May create the :message and :timestamp keys as well.

If the project's :version is :project/ref or :project/ref-short, the git ref or short ref will be used as the version of the project.

If the user has specified a :status-to-version lambda under the :git-version configuration map, that function will be used to compute a project version based on the current git state.

Leiningen middleware.

Function of a project to a project which inserts git status and ref information.

Tries to unconditionally create the `:ref`, `:ref-short`, `:tag`,
`:ahead`, `:ahead?` and `:dirty?` keys in the leiningen project
map. May create the `:message` and `:timestamp` keys as well.

If the project's `:version` is `:project/ref` or
`:project/ref-short`, the git ref or short ref will be used as the
version of the project.

If the user has specified a `:status-to-version` lambda under the
`:git-version` configuration map, that function will be used to
compute a project version based on the current git state.
raw docstring

write-version-fileclj

(write-version-file {:keys [root] :as project} file keys)

Write a project "version" file.

Write a project "version" file.
raw docstring

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

× close