clojure-complete icon indicating copy to clipboard operation
clojure-complete copied to clipboard

Enable tools.deps.alpha access via git

Open ghadishayban opened this issue 7 years ago • 0 comments

Having a deps.edn provided allows me to pull this artifact from git directly using the new official clj launcher. This uses the git machinery that tools.deps.alpha exposes. The file helps t.d.a resolve transitive dependencies (this project conveniently has none, other than Clojure itself.)

To launch a REPL, run clj.

To launch with access to tests, against an old version of Clojure:

clj -R:v1.2 -C:test

Once this file is present, other users or libraries will be able to directly pull down this code without needing to release a Maven artifact. Their deps.edn could look like:

{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
        ninjudd/clojure-complete {:git/url "[email protected]:ninjudd/clojure-complete.git"
                                  :sha "whateverlatestis"}}}

ghadishayban avatar Jan 21 '18 01:01 ghadishayban