haskell-CI / haskell-ci

Scripts and instructions for using CI services (e.g. Travis CI or Appveyor) with multiple GHC configurations
GNU General Public License v3.0
435 stars 71 forks source link

cabal-install-parsers: allow to print out 'Project' #405

Open hasufell opened 3 years ago

hasufell commented 3 years ago

This would be useful for e.g. stack2cabal: https://github.com/hasufell/stack2cabal/blob/master/lib/StackageToHackage/Hackage.hs#L85

phadej commented 3 years ago

It is probably better for stack2cabal to use https://hackage.haskell.org/package/Cabal-3.2.0.0/docs/Distribution-Fields-Pretty.html#t:PrettyField to construct the cabal.project files, for example you can easily add comments if such are needed etc.