Fork me on GitHub

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


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

👍 3

😆 easy as that. thanks @dominicm


@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

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.


On, if I try to "," 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!