]> git.wincent.com - docvim.git/blobdiff - docvim.cabal
Fix remaining warnings
[docvim.git] / docvim.cabal
index df870290239de80e131cb1453e949dee82ece67e..f64e8ac8e52be9503bd4210c5ce78bce097e9dc6 100644 (file)
@@ -71,7 +71,7 @@ executable docvim
   build-depends:       base >=4.8 && <4.9
                ,       docvim
 
-  ghc-options:         -W -Wall
+  ghc-options:         -W -Wall -Werror
 
   -- Directories containing source files.
   hs-source-dirs:      src
@@ -118,14 +118,14 @@ library
                  ,  Text.Docvim.Visitor.Section
                  ,  Text.Docvim.Visitor.Symbol
                  ,  Paths_docvim
-  ghc-options:      -W -Wall
+  ghc-options:      -W -Wall -Werror
   hs-source-dirs:   lib
 
 test-suite hlint
   build-depends:    base
                ,    hlint
   default-language: Haskell2010
-  ghc-options:      -W -Wall
+  ghc-options:      -W -Wall -Werror
   hs-source-dirs:   tests
   main-is:          HLint.hs
   type:             exitcode-stdio-1.0
@@ -169,7 +169,7 @@ test-suite tasty
                ,     Text.Docvim.Visitor.Section
                ,     Text.Docvim.Visitor.Symbol
   default-language: Haskell2010
-  ghc-options:      -W -Wall
+  ghc-options:      -W -Wall -Werror
   hs-source-dirs:   tests
                 ,   lib
   main-is:          Tasty.hs