Fork me on GitHub
#tools-deps
<
2020-09-21
>
timo14:09:44

What is the command to only resolve dependencies with tools-deps and not start a repl? I need it for CI.

alexmiller14:09:46

clj -e nil is sufficient. current prereleases have a new -P (prepare) switch for this purpose.

pmonks15:09:52

For better logging in multi-step builds, I sometimes do clojure -Srepro -e '(println "Dependencies downloaded")' .

ghadi14:09:35

@timok you'll want clojure -e nil instead of clj if you don't have an interactive terminal

timo14:09:55

ok, cool

timo14:09:09

I never understood the differences though

dominicm14:09:43

Clj calls rlwrap. So adds things like up/down.

alexmiller14:09:48

right, sorry

timo14:09:11

awesome, thanks for the answers :thumbsup: