Clojure 1.12's add-lib
combined with deps.clj.
This projects brings Clojure's new add-lib
function to leiningen and/or other
environments that do not have a or a specific version of the clojure CLI
installed.
Experimental, use as a dev-only tool.
To use this, add io.github.borkdude/deps.add-lib {:mvn/version "0.0.1}
to your
deps.edn
or project.clj
.
E.g. in your project.clj
:
(defproject my-project "0.0.1"
:dependencies [[org.clojure/clojure "1.12.0-alpha2"]
[io.github.borkude/deps.add-lib "0.0.1"]])
And then REPL away:
(require '[borkdudde.deps.add-lib :refer [add-lib]])
(add-lib 'medley/medley)
(require 'medley.core) ;; bingo
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close