Fork me on GitHub
#tools-deps
<
2020-10-07
>
timo11:10:58

for transitioning to clojure tools I am missing the lein install . How does one install a lib to local repository with clojure tools?

dominicm11:10:53

@timok you don't really need to, you can reference it using :local/root

👍 3
timo12:10:17

😆 easy as that. thanks @dominicm

practicalli-johnny12:10:07

@timok as mentioned local/root is very useful. clojure -X:deps mvn-install is a built-in Clojure CLI alias to deploy a Jar of the project locally in the ~/.m2/repository directory

awesome 9
dharrigan12:10:49

I find local/root very useful too. I pull down a 3rd party library, do some changes, and without having to deploy it anywhere, I can reference it in my own project by using the local/root structure to point to its sources.

3
kenny23:10:49

On 1.10.1.697, if I try to "https://clojure.org/reference/repl_and_main#_launching_a_script," I get the warning "WARNING: When invoking clojure.main, use -M." Is this correct?

Alex Miller (Clojure team)23:10:00

yes, there have been changes in the clj arguments in 697

Alex Miller (Clojure team)23:10:28

those examples are (now) out of date, will fix

Alex Miller (Clojure team)23:10:41

forgot they were there!