cabal-bounds icon indicating copy to clipboard operation
cabal-bounds copied to clipboard

Use `cabal-gild`'s formatting for output

Open neilmayhew opened this issue 7 months ago • 1 comments

cabal-gild does a great job of formatting .cabal files, and many projects run it automatically using GitHub Actions or local git hooks. It's a good representation of what most people would like their cabal files to look like.

The formatting function is defined here and is exposed here as part of the stable API.

neilmayhew avatar Apr 14 '25 16:04 neilmayhew

If the format is better, then it should be added to the cabal library, where it‘s maintained.

I‘m not eager to add a dependency that might not be maintained in the future, because the cabal library will for sure change.

dan-t avatar Apr 24 '25 11:04 dan-t