Fork me on GitHub
#clojure-europe
<
2024-04-06
>
Ben Sless19:04:02

Anyone ever tried to use Carve as part of their application build process after copying deps to produce the smallest possible uberjar?

👀 1
1
vemv11:04:05

SInce it's static analysis based probably you'd remove less obvious code that uses macroexpand, eval, other tricks.

Ben Sless11:04:40

That's a risk, yes

imre15:04:19

Perhaps having a (commonly known?) way to run (unit) tests against your uberjar could help mitigate some of that

Ben Sless16:04:52

You can just pass the target directory as class path after running carve, before uberjaring