This namespace distills mbt's API to build mbt itself.
This namespace distills mbt's API to build mbt itself.
(build! conf)Build a skinny jar. First the last version is added to the config map. Then using that version, the last tag is
recovered to update the ::...maven.scm/tag part of the config is updated. Finally the project's pom.xml file is
synced and the skinny jar is generated.
Build a skinny jar. First the last version is added to the config map. Then using that version, the last tag is recovered to update the ::...maven.scm/tag part of the config is updated. Finally the project's `pom.xml` file is synced and the skinny jar is generated.
(bump-project! conf)Generate a new version and tag the repo.
Generate a new version and tag the repo.
(bump-project-with-version-file! conf)Generate a new version file then tag a new version. The additional commit for the version file is taken into account when computing the new version (which is a commit count).
Generate a new version file then tag a new version. The additional commit for the version file is taken into account when computing the new version (which is a commit count).
(install! conf)Install the project's jar, the version attributed to it is recovered with
fr.jeremyschoffen.mbt.alpha.mbt-style/merge-last-version.
Install the project's jar, the version attributed to it is recovered with [[fr.jeremyschoffen.mbt.alpha.mbt-style/merge-last-version]].
(merge-last-version conf)Add to a config map the keys ::versioning/version and ::project/version based on the result of
fr.jeremyschoffen.mbt.alpha.default/versioning-last-version.
Add to a config map the keys `::versioning/version` and `::project/version` based on the result of [[fr.jeremyschoffen.mbt.alpha.default/versioning-last-version]].
(next-version+1 {scheme :fr.jeremyschoffen.mbt.alpha.versioning/scheme
:as conf})Compute the next project version anticipating the commit adding the version file. Using git-distance is expected here.
Compute the next project version anticipating the commit adding the version file. Using git-distance is expected here.
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 |