Alan Coromano
Alan Coromano

Reputation: 26008

How to install a clojure library available on my machine locally so it can be accessbile to other projects?

I've built a clojure library, it's on my local machine and now I want to test as it were a third-party library as well as testing it internally by tests.

How can I install the library locally by lein the same way I can install libraries normally by "project.clj" -> ":dependencies [[....]]"

Upvotes: 0

Views: 313

Answers (1)

gfredericks
gfredericks

Reputation: 1322

lein install should install it to your ~/.m2 directory to give you exactly what you want.

Upvotes: 1

Related Questions