Fork me on GitHub
#tools-deps
<
2018-04-12
>
hagmonk22:04:19

I spent some time trying to make AOT for my app work with tools.deps, finally watched dtrace for a bit and figured out the magic :)

hagmonk22:04:52

In this case I'm also pulling in rebel-readline and clj-async-profiler:

clj -Sdeps "{:deps {com.bhauman/rebel-readline {:mvn/version \"0.1.2\"} com.clojure-goes-fast/clj-async-profiler {:mvn/version \"0.1.3-SNAPSHOT\"}} :paths [\"classes\" \"src\"]}" -m rebel-readline.main

hagmonk22:04:27

Oh, and one must make the classes folder in advance too

hagmonk23:04:14

I found some deps on libs pulled from our corporate artifactory instance were missing, seemingly because they have the scope "runtime" set

Alex Miller (Clojure team)23:04:05

That’s intentional but still thinking about whether to include runtime