tools-deps

isak 2024-04-17T18:03:20.666909Z

What is the correct way to do this? clojure -A:shadow-cljs -T:build -P That gives this error: Namespace build loaded but function not found: -P If I use -A:build instead of -T:build, the classpath I get is different (the current directory is added as one of the first few paths).

Alex Miller (Clojure team) 2024-04-17T18:11:47.631609Z

put the -P first, -T will swipe it

👌 1
Alex Miller (Clojure team) 2024-04-17T18:13:15.251719Z

clojure -P -T:shadow-cljs:build should download the deps for all used in the combination classpath (which may or may not be correct, hard to say)

Alex Miller (Clojure team) 2024-04-17T18:14:10.628899Z

you may be best to do:

clojure -P -A:shadow-cljs
clojure -P -T:build
to actually download the deps needed for those two different commands (version selection could easily yield different versions between them)

👍 1
isak 2024-04-17T19:37:13.998509Z

@alexmiller That worked, thanks!