athos / clj-check

lein-check alternative for Clojure CLI tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clj-check

lein check alternative for Clojure CLI tool

You don't have to have Leiningen to check your codebase anymore :-)

Usage

Add the following to your deps.edn:

:aliases {:check {:extra-deps {athos/clj-check {:git/url "https://github.com/athos/clj-check.git"
                                                :sha "0ca84df1357d71429243b99908303f45a934654c"}}
                  :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:

For clj versions 1.10.1.697 and greater:

clj -M:check

For older versions:

clj -A:check

License

Copyright © 2018 Shogo Ohta

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

lein-check alternative for Clojure CLI tool

License:Eclipse Public License 1.0


Languages

Language:Clojure 100.0%