Fork me on GitHub
#clojure-dev
<
2017-12-31
>
gfredericks01:12:32

I was surprised to see that the CLI doesn't have a way to specify deps that aren't in a file, or even a way to have an arg that points it to a particular deps file

gfredericks01:12:35

this means if I want to programmatically run clojure with particular deps, I need to create a tmp directory, write a deps.edn there, and make sure to launch clojure from the tmp directory; is that correct? is there any desire for a better workflow for that sort of thing?

Alex Miller (Clojure team)14:12:09

there have been some discussions (maybe here, can’t remember now) about including a way to take a final (or only) deps.edn on the command line

Alex Miller (Clojure team)14:12:26

https://dev.clojure.org/jira/browse/TDEPS-19 is kind of covering this (although I don’t think the particular example given is very good there)

gfredericks15:12:22

I added a comment. I'd be happy to prepare a patch, given requirements.

Alex Miller (Clojure team)15:12:05

prob better to let me discuss with Rich first

Alex Miller (Clojure team)15:12:15

btw, I think the discussion was in #tools-deps which is a thing

gfredericks15:12:43

and now I'm there thanks