Hacker News new | ask | show | jobs
by welp 4959 days ago
Using lein2, you can run the following:

  $ JAVA_CMD=drip lein ...
2 comments

What does this do exactly? Will it permanently change lein to use drip? Or only temporarily for whichever command replaced the "...". Also, do you know if the advice here: https://github.com/flatland/drip/wiki/Clojure works with lein2?
That command runs drip only for that particular invocation of the command. You can put the following:

    export JAVA_CMD=drip
into your ~/.profile (etc) file to have it affect all future Java launches from leiningen.
Still using lein1 :(