Skip to content

Commit

Permalink
disable -Werror for now due to partial functions like head, tail.
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Jun 25, 2023
1 parent 3008650 commit 8844ef7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion core/hoodle-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Source-repository head

Library
hs-source-dirs: src
ghc-options: -j -Wall -Werror
-- TODO: We use the "head" partial function yet, so disable -Werror for now.
ghc-options: -j -Wall
ghc-prof-options: -fprof-auto -fprof-cafs

Build-Depends: base == 4.*,
Expand Down
3 changes: 2 additions & 1 deletion parser/hoodle-parser.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Source-repository head
location: http://www.github.com/wavewave/hoodle-parser
Library
hs-source-dirs: src
ghc-options: -j -Wall -Werror
-- TODO: We use the "head" partial function yet, so disable -Werror for now.
ghc-options: -j -Wall
ghc-prof-options: -fprof-auto -fprof-cafs
Build-Depends: base == 4.*,
attoparsec >= 0.10,
Expand Down
3 changes: 2 additions & 1 deletion render/hoodle-render.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Source-repository head
location: http://www.github.com/wavewave/hoodle-render
Library
hs-source-dirs: src
ghc-options: -j -Wall -Werror
-- TODO: We use the "head" partial function yet, so disable -Werror for now.
ghc-options: -j -Wall
ghc-prof-options: -fprof-auto -fprof-cafs

Build-Depends:
Expand Down
3 changes: 2 additions & 1 deletion xournal-parser/xournal-parser.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Source-repository head

Library
hs-source-dirs: src
ghc-options: -j -Wall -Werror
-- TODO: we use the `head` partial function yet. disable -Werror
ghc-options: -j -Wall
ghc-prof-options: -fprof-auto -fprof-cafs
Build-Depends: base == 4.*,
mtl,
Expand Down

0 comments on commit 8844ef7

Please sign in to comment.