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
1👍😆 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.
I'm about to update things here...
Building our uber JARs for our 14 processes seems to produce near-identical results between .697 and .708 -- there are variations from run-to-run based (I assume) on differing timestamps etc but nothing more than 150 bytes on JAR files that range from 30MB to 70MB, so that all looks reasonably sane.
(if dependencies were missing we'd have known about it by now on .697 and 150 bytes here and there isn't likely to indicate an entire dependency coming or going)
yeah, shouldn't be anything different other than the set of jars selected
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!