Shadow-cljs: Command to only install dependencies

Created on 8 Aug 2018  路  6Comments  路  Source: thheller/shadow-cljs

Similar to lein deps or npm install. Would be very helpful for speeding up Docker builds:

COPY shadow-cljs.edn .

## This will cache between builds and only run if the above shadow-cljs.edn has changed
RUN npx shadow-cljs install

Most helpful comment

Need something that works with lein and deps.edn as info will only download :dependencies from shadow-cljs.edn.

All 6 comments

I sort of added this by accident recently (2.6.2+).

When running shadow-cljs --cli-info it will install all dependencies and print a dependency tree.

I will turn this into a proper command but it might be useful already.

Thanks, I upgraded to 2.6.4 and works great for now 馃榿

I'll leave the issue open in case it helps as a reminder.

shadow-cljs info will do fine for now.

Need something that works with lein and deps.edn as info will only download :dependencies from shadow-cljs.edn.

shadow-cljs classpath can be used to do this. Not sure it is worth adding an extra command that does the same thing but just doesn't print the classpath?

Might be worth documenting in the usage manual that shadow-cljs classpath > /dev/null Is a good replacement for lein deps

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alex-dixon picture alex-dixon  路  5Comments

vinurs picture vinurs  路  7Comments

jiyinyiyong picture jiyinyiyong  路  4Comments

jinwei233 picture jinwei233  路  8Comments

iku000888 picture iku000888  路  8Comments