Skip to content

Commit

Permalink
Add pedantic flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed Mar 18, 2024
1 parent be6887b commit 7ed1116
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions imp.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ source-repository head
location: https://github.com/tfausak/imp
type: git

flag pedantic
default: False
manual: True

common library
build-depends: base ^>=4.17.0.0 || ^>=4.18.0.0 || ^>=4.19.0.0
default-language: Haskell2010
Expand Down Expand Up @@ -81,6 +85,9 @@ library
else
hs-source-dirs: source/ghc-9.4

if flag(pedantic)
ghc-options: -Werror

test-suite imp-test-suite
import: executable
build-depends:
Expand Down

0 comments on commit 7ed1116

Please sign in to comment.