With Homebrew:
# NB: you may already have a different Java installed, or you may wish to
# install a different Java than the default Homebrew formula installs. If so,
# remove `java` from the command below and install the Java of your choice,
# if necessary.
brew install java clojure/tools/clojure pandoc borkdude/brew/clj-kondo
These use cases are described in more detail below, but here’s a quick list of our convenience scripts:
# From the root of the project
clj -A:dev:test
# Or with the convenience script:
bin/repl
This project uses Kaocha as its test runner.
Each subdirectory under test
is a test suite, e.g. examples
, integration
,
property
, etc.
# Run all suites
bin/kaocha
# Run a single suite
bin/kaocha integration
(use 'kaocha.repl)
; Run all suites
(run-all)
; Run a single suite
(run :unit)
; Run a single namespace
(run 'md2c8e.core-test)
; Run a single test var
(run 'md2c8e.core-test/test-readme?)
This project currently uses clj-kondo for linting — running basic sanity checks on the source code.
If you’re on MacOS, you can install it easily via Homebrew:
brew install borkdude/brew/clj-kondo
You can run it via:
bin/kondo