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
😆 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
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 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?
yes, there have been changes in the clj arguments in 697
those examples are (now) out of date, will fix
forgot they were there!