Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/athos/clj-check

lein-check alternative for Clojure CLI tool
https://github.com/athos/clj-check

check clojure lein

Last synced: about 1 month ago
JSON representation

lein-check alternative for Clojure CLI tool

Awesome Lists containing this project

README

        

# clj-check

`lein check` alternative for [Clojure CLI tool](https://clojure.org/guides/deps_and_cli)

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

## Usage

Add the following to your `deps.edn`:

```clj
: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:

```clj
:aliases {:check {...
:main-opts ["-m" "clj-check.check" "src/clj" "src/cljc"]}}
```

Then, run `clj-check` via the declared alias:

```
clj -M:check
```

## License

Copyright © 2018 Shogo Ohta

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