You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clean but avoiding cloning the source repository packages again? #8832
$ cabal clean --help
Clean the package store and remove temporary files.
Usage: cabal new-clean [FLAGS]
Removes all temporary files created during the building process (.hi, .o,
preprocessed sources, etc.) and also empties out the local caches (by
default).
Flags for clean:
-h, --help Show this help text
-v, --verbose[=n] Control verbosity (n is 0--3, default
verbosity level is 1)
--builddir=DIR The directory where Cabal puts generated build
files (default dist)
--project-file=FILE Set the name of the cabal.project file to
search for in parent directories
-s, --save-config Save configuration, only remove build
artifacts
Shouldn't this help now say (default dist-newstyle) now that the v2 commands are the default?
Activity
ulysses4ever commentedon Mar 6, 2023
Absolutely. A PR would be welcome.
michaelpj commentedon Mar 7, 2023
Perhaps related: #7506
(So you can avoid doing a full
cabal cleanin more circumstances)fgaz commentedon Oct 5, 2026
Related: #9314