Don't fail build on warnings in dev mode, do that for production builds instead.

This commit is contained in:
Robin Heggelund Hansen 2022-08-05 09:35:54 +02:00
parent 490aa33d8d
commit b8cad6791f

View File

@ -38,9 +38,9 @@ Flag dev {
Common gren-common
if flag(dev)
ghc-options: -O0 -Wall -Werror
ghc-options: -O0 -Wall
else
ghc-options: -O2 -Wall -threaded "-with-rtsopts=-N"
ghc-options: -O2 -Wall -Werror -threaded "-with-rtsopts=-N"
default-language: GHC2021