From 910f865303605126e6b923ab0cbc597f0ce9df6e Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 27 Aug 2014 20:05:08 -0700 Subject: [PATCH] Get strict on warnings for CI and for life --- dbapi.cabal | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dbapi.cabal b/dbapi.cabal index 59eef5e40..22493723a 100644 --- a/dbapi.cabal +++ b/dbapi.cabal @@ -28,11 +28,12 @@ library , PgQuery , RangeQuery other-extensions: OverloadedStrings + ghc-options: -Wall -W -Werror hs-source-dirs: src executable dbapi main-is: Main.hs - ghc-options: -Wall + ghc-options: -Wall -W -Werror build-depends: base >=4.6 && <5 , HDBC, HDBC-postgresql , warp, wai >= 3.0.1 && < 3.0.2 @@ -54,7 +55,7 @@ Test-Suite spec Type: exitcode-stdio-1.0 Default-Language: Haskell2010 Hs-Source-Dirs: test, src - Ghc-Options: -Wall + ghc-options: -Wall -W -Werror Main-Is: Main.hs Other-Modules: Dbapi, Spec, SpecHelper Build-Depends: base, hspec2