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.

Alex Miller (Clojure team)14:09:46

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

deactivateduser15: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.

timo14:09:11

awesome, thanks for the answers :thumbsup: