Enable tools.deps.alpha access via git#27
Open
ghadishayban wants to merge 1 commit intoninjudd:masterfrom
Open
Enable tools.deps.alpha access via git#27ghadishayban wants to merge 1 commit intoninjudd:masterfrom
ghadishayban wants to merge 1 commit intoninjudd:masterfrom
Conversation
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 "git@github.com:ninjudd/clojure-complete.git" :sha "whateverlatestis"}}}
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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 "git@github.com:ninjudd/clojure-complete.git" :sha "whateverlatestis"}}}