mirror of
https://github.com/hanshoglund/iso-deriving.git
synced 2024-09-17 09:57:35 +03:00
Don't use -Werror by default
This commit is contained in:
parent
c2e0e0ff7a
commit
beb2e8764f
@ -23,6 +23,10 @@ source-repository head
|
||||
type: git
|
||||
location: git://github.com/hanshoglund/iso-deriving.git
|
||||
|
||||
flag strict
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
library
|
||||
build-depends: base >= 4.13 && < 5,
|
||||
profunctors
|
||||
@ -38,8 +42,10 @@ library
|
||||
-Wredundant-constraints
|
||||
-Wno-unused-top-binds
|
||||
-Wno-name-shadowing
|
||||
-Werror
|
||||
-- TODO: Do not use -Werror by default for a library!
|
||||
|
||||
if flag(strict)
|
||||
ghc-options:
|
||||
-Werror
|
||||
|
||||
test-suite "iso-deriving-tests"
|
||||
build-depends: base,
|
||||
|
Loading…
Reference in New Issue
Block a user