arrdem / katamari

Roll up all your software into artifacts!
67 stars 4 forks source link

Extend `clojure-library` to support Clojure AOT #35

Closed arrdem closed 5 years ago

arrdem commented 5 years ago

Clojure AOT is relevant when using (gen-class) either because you want to have a -main which is reachable from raw Java or because you want to be able to interop from Java back to a type which is defined in Clojure.

Katamari's clojure-library rule manifest should support AOTing selected namespaces and cache the resulting classfiles in the build product.

See https://github.com/technomancy/leiningen/blob/1dc131128279ef50f21d4d643c4d5c2133c1370d/src/leiningen/compile.clj for the prior art in Leiningen.