Fork me on GitHub
#tools-deps
<
2023-05-02
>
tcarls21:05:15

What's the equivalent to -Atarget when using clj -X:deps tree instead of clj -Stree?

seancorfield21:05:25

clojure -X:deps tree :aliases '[:target]'

seancorfield21:05:52

Several of the tools.deps functions understand :aliases

seancorfield21:05:44

FWIW, this will give you help and docstrings for all those functions:

clojure -X:deps help/doc

tcarls22:05:30

nod; I found the doc string, but wasn't understanding it correctly

tcarls22:05:14

(...hm; Also have a place where clj -Stree -T:build was being used instead of -A:build)

tcarls00:05:03

ends up using clj -Strace -T:build followed by clj -X:deps tree :file "\"trace.edn\"" ; ugly, but it works.