Skip to content

Commit

Permalink
fail build on warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
evermake committed Sep 3, 2024
1 parent 855e2e2 commit efefa96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions free-foil-hm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ library
Paths_free_foil_hm
hs-source-dirs:
src
ghc-options: -Wall
ghc-options: -Wall -Werror
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand All @@ -59,7 +59,7 @@ executable interpreter
main-is: Interpreter.hs
hs-source-dirs:
app
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand All @@ -78,7 +78,7 @@ executable repl
main-is: Repl.hs
hs-source-dirs:
app
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand All @@ -99,7 +99,7 @@ test-suite doctests
hs-source-dirs:
src/
test/doctests
ghc-options: -Wall
ghc-options: -Wall -Werror
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand All @@ -123,7 +123,7 @@ test-suite spec
Paths_free_foil_hm
hs-source-dirs:
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand Down
1 change: 1 addition & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies:

ghc-options:
- -Wall
- -Werror

library:
source-dirs: src
Expand Down

0 comments on commit efefa96

Please sign in to comment.