Skip to content

Is there a way to run rebar3 clean without pulling and installing all dependencies? #2777

Answered by ferd
weaversam8 asked this question in Q&A
Discussion options

You must be logged in to vote

rebar3 clean does not only remove compiled beam files, it generally removes compilation artifacts, which is a bit broader considering people can write custom compiler modules.

There isn't a way to run the task without invoking deps anymore; this was added because there is a full rebar3 clean -a command that should clean all deps, and also an issue around how some of these deps require plugins to be properly cleaned. Supporting the in-depth clean (back in 2018) forced us to run the install step in order to run cleans. While this isn't optimal, it is at least more correct than the previous form. We ended up picking a less efficient approach to have it be more complete.

See #1698 for the dis…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by weaversam8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants