@Peter you'll want to write flag maintainer description: Enable settings for the package maintainer. default: False manual: True note the Manual : True piece, you'll be creating a world of sad if cabal-install auto sets that to true by accident ! :) On Tue, Jul 1, 2014 at 2:23 PM, Peter Jones <mlists@pmade.com> wrote:
Johan Larson <johan.g.larson@gmail.com> writes:
Is there a consensus within the Haskell community on the use of -Werror in packages uploaded to Cabal?
I like to hide -Werror behind a cabal flag:
flag maintainer description: Enable settings for the package maintainer. default: False
if flag(maintainer) ghc-options: -Werror
-- Peter Jones, Founder, Devalot.com Defending the honor of good code
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe