Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use clj-kondo as native binary #20

Open
bobbicodes opened this issue Mar 26, 2022 · 0 comments
Open

Use clj-kondo as native binary #20

bobbicodes opened this issue Mar 26, 2022 · 0 comments

Comments

@bobbicodes
Copy link
Member

bobbicodes commented Mar 26, 2022

The analyzer currently uses clj-kondo as a Clojure library to extract analysis data which is then processed into JSON. This is not ideal for production, because clj-kondo is already shipped as a native binary that runs on Alpine.

I think it would certainly be preferable to instead use an image with clj-kondo in it and call it as a CLI, then have another script that handles those results.

Doc for getting analysis data via CLI: https://github.com/clj-kondo/clj-kondo/tree/master/analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant