gentoo-haskell / hackport

A command line tool to generate Gentoo ebuilds from Hackage packages.
GNU General Public License v3.0
55 stars 21 forks source link

Update hackport styling #92

Open ezzieyguywuf opened 3 years ago

ezzieyguywuf commented 3 years ago

Per this comment, it seems that we should prefer to start grouped depends on a new line after the parens.

For example:

test? (
    dev-haskell/quickcheck
    dev-haskell/hunit
)
trofi commented 3 years ago

Sounds good.

hololeap commented 1 year ago

Now that optparse-applicative requires prettyprinter (https://github.com/gentoo-haskell/hackport/commit/d9019f289e76fa88d992035ed262cd22945b1f72), it wouldn't be a bad idea to use prettyprinter to clean up the ebuild generation code and implement this.