elk icon indicating copy to clipboard operation
elk copied to clipboard

Build native json CLI executables

Open benlongo opened this issue 2 years ago • 2 comments

I've put together a PoC here for using graalvm to compile native executables https://github.com/benlongo/elk-cli/. The github action seems to work. I'm definitely missing some jars in there and the reflection config may not be 100% complete.

The CLI strictly takes JSON in over stdin and outputs the layout to stdout for now.

benlongo avatar Aug 06 '22 22:08 benlongo

This sounds very nice feature others might be interested in. Have you considered creating a PR? Or do you want us to include this in our documentation once it is finished? For which use case are you using this?

soerendomroes avatar Aug 15 '22 07:08 soerendomroes

I'm willing to make a PR to merge the work in that repo, but I'm unsure how the licensing of GraalVM interacts with elk. I'll also need some guidance on how to integrate with the build system as I am largely unfamiliar with JVM build tools.

benlongo avatar Aug 27 '22 18:08 benlongo