tfausak / cabal-gild

:crown: Format Haskell package descriptions.
https://hackage.haskell.org/package/cabal-gild
MIT License
49 stars 5 forks source link

Allow discovering more fields #68

Closed tfausak closed 5 months ago

tfausak commented 6 months ago

Essentially blocked by #66.

Currently Gild's discovery mechanism only works for three fields: exposed-modules, other-modules, and signatures. I think there are other fields where it would make sense to support discovery:

Note that they discover files rather than modules, so they're a little different than the existing ones.

Probably shouldn't support extra-tmp-files, since the intent is to list files that can be deleted. That means running Gild will likely produce different results depending on if the directory is clean or not.