exercism / exercism/clojure-analyzer

Use clj-kondo as native binary

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
2
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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](https://hub.docker.com/layers/clj-kondo/cljkondo/clj-kondo/2022.03.09-alpine/images/sha256-34328ae97631ea9c5924f26e70b2bcb9d81400e4b33ffbfbcafd7c9893a1711d) 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.