Warning
This repository has been moved to Codeberg: Clojure-Template
A template for Clojure projects with GitHub integration, support for Codecov coverage integration. Uses deps.edn, Eftest, Humane Test Output, Expectations, Cloverage and test.check.
See latest.
See file CHANGELOG.md
- Run the program:
clojure -X:run
- Run linter clj-kondo:
clojure -M:clj-kondo
- Run linter Eastwood:
clojure -M:eastwood
- Run tests:
clojure -X:test
- Run tests with JUnit output:
clojure -X:test-gh
(file./test.xml
) - Generate documentation using Mkdocs:
clojure -T:build doc
- Generate coverage report:
clojure -X:coverage
(file./target/coverage/lcov.info
) - Generate Codecov coverage report:
clojure -X:codecov
(file./target/coverage/codecov.json
) - Build/generate an überjar:
clojure -T:build uber
(run withjava -jar ./target/clojure-template-VERSION-standalone.jar
) - Clean the build/remove the directory
target
:clojure -T:build clean
- Generate file containing the latest changelog of file
./CHANGELOG.md
, comparing the version with the given version:clojure -X:parse-changelog '{:version "1.2.3"}'
(file./first_changelog.md
)
See documentation at Read the Docs
CLOJURE-TEMPLATE is licensed under the MIT license, see file LICENSE