Skip to content

Instantly share code, notes, and snippets.

@aviflax
Created June 22, 2018 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviflax/22fb5eae855e30fc14891fec47a16312 to your computer and use it in GitHub Desktop.
Save aviflax/22fb5eae855e30fc14891fec47a16312 to your computer and use it in GitHub Desktop.
This works from bash but I haven’t managed to get it to work from within a profile in a deps.edn file:
clojure -Sdeps "{:deps {jonase/kibit {:mvn/version \"0.1.6\"}}}" -e "(require '[kibit.driver :as k]) (k/external-run [\"src\"] nil)"
@ShiningTrapez
Copy link

I know this might be a bit late but I stumbled across this on Google and was able to get this working in deps.edn using something like:

{
    :aliases {
        :lint/analyse {
            :extra-deps {
                jonase/kibit {:mvn/version "0.1.8" :scope "test"}}
            :main-opts [
                "-e" "(require,'[kibit.driver,:as,k])(k/external-run,[\"src\"],nil)"]}}}

@aviflax
Copy link
Author

aviflax commented Apr 14, 2020

That’s great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment