Skip to content

Commit

Permalink
Add development flag also to local-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jul 20, 2021
1 parent 5ce33c6 commit ef0197c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion local-cluster/local-cluster.cabal
Expand Up @@ -16,6 +16,11 @@ source-repository head
type: git
location: https://github.com/input-output-hk/hydra-node

flag development
description: Disable -Werror for development
default: False
manual: True

common project-config
default-language: Haskell2010
default-extensions:
Expand Down Expand Up @@ -54,7 +59,6 @@ common project-config
TypeSynonymInstances
ViewPatterns
ghc-options:
-Werror
-Wall
-Wcompat
-Widentities
Expand All @@ -63,6 +67,9 @@ common project-config
-Wpartial-fields
-Wredundant-constraints

if !flag(development)
ghc-options: -Werror

library
import: project-config
hs-source-dirs: src
Expand Down

0 comments on commit ef0197c

Please sign in to comment.