kindaro/cabal-prettify

Add a flag to automatically fill in `exposed-modules`.

Closed this issue · 0 comments

See this issue and this question for the idea and the motivation.

We can add a flag that will make cabal-prettify, for every library, find all the Haskell source files in the hs-source-dirs field and put the associated module names into the exposed-modules field.