Simple leiningen library template with Clojure/Clojurescript support. Forked from https://github.com/dryewo/clojure-library-template
lein new ageneau.cljc-lib com.example/<lib_name>
Among other improvements, the generated library uses an alternative release cycle:
-SNAPSHOT
.lein release <segment>
,
where <segment>
is one of :major
, :minor
, :patch
.lein release
(after incrementing the version in project.clj) all mentions of the version in README.md are updated to the current one,
as well as Unreleased
section in CHANGELOG.md is renamed to the current version.Example:
"1.2.3"
in your project.clj."1.2.3"
was released a while ago, and in the repository there are some new changes since that last release.Unreleased
section, because you were updating it regularly."1.2.3"
to "1.3.0"
.lein release :minor
, and it does for you:
"1.2.3"
to "1.3.0"
.Unreleased
section to the new "1.3.0"
section."1.2.3"
in README.md with "1.3.0"
."1.3.0"
.git push
.Copyright © 2018 Dmitrii Balakhonskii Copyright © 2020 Sylvain Ageneau
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation? These fine people already did:
Dmitrii Balakhonskii & Sylvain AgeneauEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close