Fork me on GitHub
#leiningen
<
2019-06-21
>
vemv07:06:53

Is it possible to exclude the project's :test-paths on lein deploy? My lib's unit tests are causing some trouble to consumers

vemv07:06:54

sorry false alarm, I had the dep in checkouts which introduced made those unit tests show up in the classpath

Mattias08:06:23

I finally took the time to muck about with my JDK installs to test the latest openJDK 12 with the OpenJ9 VM. It’s meant to start quicker, among other things. Some naive tests make it seem quicker, but Leiningen seems strangely resistant. Anyone else with experiences to share?

Mattias08:06:27

I haven’t dug very deep yet. Fwiw this is on a Mac with several JDKs and my next step is trying to make sure I know what Java install lein and Clojure happen to get hold of... 😄

Alex Miller (Clojure team)11:06:00

They should use whatever is on your path

Alex Miller (Clojure team)11:06:37

So if you java -version, that’s what it’s using

Alex Miller (Clojure team)11:06:27

It may also follow JAVA_HOME if set, I don’t remember

Alex Miller (Clojure team)11:06:11

Keep in mind that in most default cases with lein you are seeing the time of two jvm startups too

Alex Miller (Clojure team)11:06:04

And often, startup time is dominated by loading your app and libs so the jvm improvements don’t matter

jumar12:06:33

just do lein -version