Skip to content

Commit 2664444

Browse files
authored
Merge pull request #105 from jml/hackage-release
Don't build -Werror by default
2 parents 1e28ebf + 1cd7a82 commit 2664444

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

circle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515

1616
test:
1717
override:
18-
- stack --no-terminal build --test
18+
- stack --no-terminal build --test --pedantic
1919
- stack --no-terminal test
2020
- stack --no-terminal haddock
2121
post:

graphql-api.cabal

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ library
2323
hs-source-dirs:
2424
src
2525
default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
26-
ghc-options: -Wall -fno-warn-redundant-constraints -Werror
26+
ghc-options: -Wall -fno-warn-redundant-constraints
2727
build-depends:
2828
base >= 4.9 && < 5
2929
, protolude
@@ -62,7 +62,7 @@ test-suite graphql-api-doctests
6262
hs-source-dirs:
6363
tests
6464
default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
65-
ghc-options: -Wall -fno-warn-redundant-constraints -Werror -threaded
65+
ghc-options: -Wall -fno-warn-redundant-constraints -threaded
6666
build-depends:
6767
base >= 4.9 && < 5
6868
, protolude
@@ -90,7 +90,7 @@ test-suite graphql-api-tests
9090
hs-source-dirs:
9191
tests
9292
default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
93-
ghc-options: -Wall -fno-warn-redundant-constraints -Werror
93+
ghc-options: -Wall -fno-warn-redundant-constraints
9494
build-depends:
9595
base >= 4.9 && < 5
9696
, protolude
@@ -126,7 +126,7 @@ benchmark criterion
126126
hs-source-dirs:
127127
benchmarks
128128
default-extensions: NoImplicitPrelude OverloadedStrings RecordWildCards TypeApplications
129-
ghc-options: -Wall -fno-warn-redundant-constraints -Werror
129+
ghc-options: -Wall -fno-warn-redundant-constraints
130130
build-depends:
131131
base >= 4.9 && < 5
132132
, protolude

package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ github: jml/graphql-api
99
category: Web
1010

1111
# NB the "redundant constraints" warning is a GHC bug: https://ghc.haskell.org/trac/ghc/ticket/11099
12-
ghc-options: -Wall -fno-warn-redundant-constraints -Werror
12+
ghc-options: -Wall -fno-warn-redundant-constraints
1313
default-extensions:
1414
- NoImplicitPrelude
1515
- OverloadedStrings

0 commit comments

Comments
 (0)