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