From f7f7fbeddcc7cd19b735a62797dbc504a8b3c55f Mon Sep 17 00:00:00 2001 From: port19 Date: Tue, 18 Apr 2023 09:55:13 +0000 Subject: [PATCH] docs: add deps.edn alias to readme --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e775c2..aacc498 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,18 @@ instead of: ... ---- -### Usage from inside Emacs +## Usage from deps.edn + +Add the following to your aliases + +```clojure +:kibit {:extra-deps {jonase/kibit {:mvn/version "0.1.8"}} + :main-opts ["-e" "(require,'[kibit.driver,:as,k])(k/external-run,[\"src\"],nil)"]} +``` + +For alternative options to use kibit from inside deps.edn, check out [this issue](https://github.com/clj-commons/kibit/issues/221) + +## Usage from inside Emacs If you use Emacs for hacking Clojure, here's a way to use kibit from inside Emacs with all the fanciness you are used to from `M-x compile`.