commercialhaskell / commercialhaskell/stack
Disable / Delay "Warning: modules not listed in *.cabal for '*' component (add to other-modules):" Warning
Open
type: discuss
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
From what I can tell, the `other-modules` field in a cabal file only matters when packaging for a Hackage upload. Cold this warning instead be emitted during the upload check or could we have a flag to disable this warning? It seems pointless to manually maintain a module list or see this warning on every single build for projects that won't end up on Hackage.
Contributor guide
Assessment
This issue has not been assessed yet.