Fork me on GitHub
#clojure-dev
<
2018-10-19
>
seancorfield02:10:03

FWIW, on the AOT / clj question, I realized I could just add classes to :paths and call (compile 'my.ns) as part of application startup...

kenny17:10:25

Interesting. Are you running compile as the first thing in your application's -main?

seancorfield17:10:11

For dev, I just put it in src/user.clj 🙂

kenny17:10:24

For production, do you include the classes in an uberjar?

seancorfield17:10:47

For production, yes, we build an uberjar and deploy just that. That particular library is up on Clojars right now so boot takes care of the AOT. I am still considering how best to handle it either as a direct dependency (locally) or AOT'd and packaged for Clojars via clj and some tooling.

seancorfield17:10:11

Taking small steps toward solving the exceedingly few AOT needs we have 🙂

mpenet04:10:43

clj-1255 comes to mind

mpenet04:10:45

Not the same but related