Fork me on GitHub
#graalvm
<
2022-06-20
>
Johan Thorén11:06:37

Is there a good way to bootstrap a new GraalVM Native Image CLI app? https://github.com/johanthoren/graal-cli-template, but there must be a better way - a lein template or similar?

borkdude12:06:50

@jthoren I usually just copy one of my previous projects

borkdude12:06:06

There is a lein plugin for native image, also one for clj, but I prefer using the least wrapping as possible, for memory issues (don't run the build in a jvm) but also just because every graalvm project has its unique demands

borkdude12:06:33

I have one "template" here: https://github.com/borkdude/jayfu, maybe I could promote it to a proper deps-new clj template

🙏 1
littleli09:06:55

...or maybe just a github project template

borkdude09:06:29

that's already what it is

littleli09:06:44

oh, very cool 🙂

borkdude09:06:06

I'm not sure what the benefit of that is though

littleli09:06:40

Usually this just spare you from a few ceremonies. As an example my scoop projects were created with this "use template" feature. Exception is scoop-clojure which predates my involvement with scoop.

littleli09:06:00

but the true benefit were for me pre-setup of hooks and github actions which I needed only to enable afterwards.

littleli09:06:12

which is already very useful I think

Johan Thorén12:06:25

@borkdude, thanks for sharing.