lein check
alternative for Clojure CLI tool
You don't have to have Leiningen to check your codebase anymore :-)
Add the following to your deps.edn
:
:aliases {:check {:extra-deps {io.github.athos/clj-check
{:git/tag "0.1.0" :git/sha "0ca84df"}}
:main-opts ["-m" "clj-check.check"]}}
If your project has its codebase under some directories other than src
(say src/clj
and src/cljc
), specify them as the command line arguments as follows:
:aliases {:check {...
:main-opts ["-m" "clj-check.check" "src/clj" "src/cljc"]}}
Then, run clj-check
via the declared alias:
clj -M:check
Copyright © 2018 Shogo Ohta
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.