Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 995cd9e

Browse files
committed
Enable -Werror
This should be removed when releasing or stack support for -Werror is implemented.
1 parent 2827a2d commit 995cd9e

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

haskell-ide-engine.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ executable hie
9292
, time
9393
, transformers
9494
, vinyl
95-
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
95+
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
9696
default-language: Haskell2010
9797

9898
test-suite haskell-ide-test
@@ -132,7 +132,7 @@ test-suite haskell-ide-test
132132
, transformers
133133
, unordered-containers
134134
, vinyl
135-
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
135+
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
136136
default-language: Haskell2010
137137

138138
source-repository head

hie-apply-refact/hie-apply-refact.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ library
2929
, text
3030
, transformers
3131
, vinyl >= 0.5 && < 0.6
32-
ghc-options: -Wall
32+
ghc-options: -Wall -Werror
3333
default-language: Haskell2010

hie-base/hie-base.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ library
2323
, unordered-containers
2424
, singletons
2525
, vinyl
26-
ghc-options: -Wall
26+
ghc-options: -Wall -Werror
2727
default-language: Haskell2010

hie-docs-generator/hie-docs-generator.cabal

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ executable hie-docs-generator
3939
, pcre-heavy
4040
, text
4141
hs-source-dirs: src
42-
default-language: Haskell2010
42+
ghc-options: -Wall -Werror
43+
default-language: Haskell2010

hie-eg-plugin-async/hie-eg-plugin-async.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ library
2020
, stm
2121
, text
2222
, transformers
23-
ghc-options: -Wall
23+
ghc-options: -Wall -Werror
2424
default-language: Haskell2010

hie-example-plugin2/hie-example-plugin2.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ library
1919
, containers
2020
, text
2121
, transformers
22-
ghc-options: -Wall
22+
ghc-options: -Wall -Werror
2323
default-language: Haskell2010

hie-ghc-mod/hie-ghc-mod.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ library
2626
, transformers
2727
, vinyl >= 0.5 && < 0.6
2828

29-
ghc-options: -Wall
29+
ghc-options: -Wall -Werror
3030
default-language: Haskell2010

hie-hare/hie-hare.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ library
2626
, text
2727
, transformers
2828
, vinyl >= 0.5 && < 0.6
29-
ghc-options: -Wall
29+
ghc-options: -Wall -Werror
3030
default-language: Haskell2010

hie-plugin-api/hie-plugin-api.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ library
3939
, transformers
4040
, unordered-containers
4141
, vinyl >= 0.5 && < 0.6
42-
ghc-options: -Wall
42+
ghc-options: -Wall -Werror
4343
default-language: Haskell2010

0 commit comments

Comments
 (0)