Detect unused packages with new-build
Open
cabal-install: v2-build system
status: consider closing
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I would like `cabal` to support detection of redundant packages with `cabal new-build`, like `weeder` or `packunused`. This would entail:
- [ ] Detecting redundant packages in the `.cabal` file
- [ ] Making a command-line flag to toggle detection of redundant packages
- [ ] Making a field in `cabal.project` files to toggle detection of redundant packages
- [ ] Print out warnings/errors and set exit code when redundant packages are found
I can do all of the work, but I would like to know that this is a welcome feature before getting started.
Contributor guide
Assessment
This issue has not been assessed yet.