From d7787ee41ec261db9152d548a9ebbffb4c44c52d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 26 Feb 2016 23:03:44 +0000 Subject: Enabled warnings --- bbcode/bbcode.cabal | 3 ++- client/thermoprint-client.cabal | 1 + server/thermoprint-server.cabal | 4 +++- spec/thermoprint-spec.cabal | 3 ++- tp-bbcode/thermoprint-bbcode.cabal | 3 ++- webgui/thermoprint-webgui.cabal | 3 ++- 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/bbcode/bbcode.cabal b/bbcode/bbcode.cabal index 5ef4890..6309fc0 100644 --- a/bbcode/bbcode.cabal +++ b/bbcode/bbcode.cabal @@ -33,12 +33,13 @@ library , case-insensitive >=1.2.0 && <2 hs-source-dirs: src default-language: Haskell2010 + ghc-options: -Wall Test-Suite tests type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Spec.hs - ghc-options: -threaded -with-rtsopts=-N + ghc-options: -Wall -threaded -with-rtsopts=-N extensions: OverloadedStrings , FlexibleInstances build-depends: base >=4.8.1 && <5 diff --git a/client/thermoprint-client.cabal b/client/thermoprint-client.cabal index 69091fd..9567971 100644 --- a/client/thermoprint-client.cabal +++ b/client/thermoprint-client.cabal @@ -32,3 +32,4 @@ library , transformers >=0.4.2 && <1 hs-source-dirs: src default-language: Haskell2010 + ghc-options: -Wall diff --git a/server/thermoprint-server.cabal b/server/thermoprint-server.cabal index 34e4bee..2fa04c5 100644 --- a/server/thermoprint-server.cabal +++ b/server/thermoprint-server.cabal @@ -68,6 +68,7 @@ library , network-uri >=2.6.0 && <3 hs-source-dirs: src default-language: Haskell2010 + ghc-options: -Wall Test-Suite tests type: exitcode-stdio-1.0 @@ -102,4 +103,5 @@ executable thermoprint-server , resourcet >=1.1.7 && <2 , monad-logger >=0.3.13 && <1 hs-source-dirs: default-conf - default-language: Haskell2010 \ No newline at end of file + default-language: Haskell2010 + ghc-options: -Wall \ No newline at end of file diff --git a/spec/thermoprint-spec.cabal b/spec/thermoprint-spec.cabal index 7446da3..e236e05 100644 --- a/spec/thermoprint-spec.cabal +++ b/spec/thermoprint-spec.cabal @@ -47,12 +47,13 @@ library , time >=1.5.0 && <2 -- hs-source-dirs: default-language: Haskell2010 + ghc-options: -Wall Test-Suite tests type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Spec.hs - ghc-options: -threaded -with-rtsopts=-N + ghc-options: -Wall -threaded -with-rtsopts=-N extensions: StandaloneDeriving , OverloadedStrings , OverloadedLists diff --git a/tp-bbcode/thermoprint-bbcode.cabal b/tp-bbcode/thermoprint-bbcode.cabal index 3d47691..8773b89 100644 --- a/tp-bbcode/thermoprint-bbcode.cabal +++ b/tp-bbcode/thermoprint-bbcode.cabal @@ -32,12 +32,13 @@ library , bytestring >=0.10.6 && <1 hs-source-dirs: src default-language: Haskell2010 + ghc-options: -Wall Test-Suite tests type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Spec.hs - ghc-options: -threaded -with-rtsopts=-N + ghc-options: -Wall -threaded -with-rtsopts=-N extensions: StandaloneDeriving , OverloadedStrings , OverloadedLists diff --git a/webgui/thermoprint-webgui.cabal b/webgui/thermoprint-webgui.cabal index b76175d..024bcf6 100644 --- a/webgui/thermoprint-webgui.cabal +++ b/webgui/thermoprint-webgui.cabal @@ -41,4 +41,5 @@ executable thermoprint-webgui , time >=1.5.0 && <2 , data-default-class >=0.0 && <1 hs-source-dirs: src - default-language: Haskell2010 \ No newline at end of file + default-language: Haskell2010 + ghc-options: -Wall \ No newline at end of file -- cgit v1.2.3