Skip to content

Commit

Permalink
enable errors and remove some default warning settings
Browse files Browse the repository at this point in the history
  • Loading branch information
patritzenfeld committed Jan 8, 2025
1 parent d9bfd1c commit d96cf36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions codeworld-tasks.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ library
Paths_codeworld_tasks
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
build-depends:
base >=4.11 && <5
, bytestring
Expand All @@ -58,7 +58,7 @@ test-suite codeworld-tasks-test
Paths_codeworld_tasks
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Werror -Wcompat -Widentities -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.11 && <5
, bytestring
Expand Down
4 changes: 1 addition & 3 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ dependencies:

ghc-options:
- -Wall
- -Werror
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints

Expand Down

0 comments on commit d96cf36

Please sign in to comment.