Skip to content

Conversation

ghadishayban
Copy link

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"}}}

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:

```clj
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
             ninjudd/clojure-complete {:git/url "[email protected]:ninjudd/clojure-complete.git" :sha "whateverlatestis"}}}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant