1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00

add warnings to semantic-ast.cabal

This commit is contained in:
Ayman Nadeem 2019-11-19 15:38:55 -05:00
parent 405c49d806
commit 94432be85f

View File

@ -18,7 +18,25 @@ extra-source-files: CHANGELOG.md
tested-with: GHC == 8.6.5 tested-with: GHC == 8.6.5
common haskell
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-missing-local-signatures
-Wno-missing-import-lists
-Wno-implicit-prelude
-Wno-safe
-Wno-unsafe
-Wno-name-shadowing
-Wno-monomorphism-restriction
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-star-is-type
if (impl(ghc >= 8.8))
ghc-options: -Wno-missing-deriving-strategies
library library
import: haskell
exposed-modules: exposed-modules:
-- other-modules: -- other-modules:
-- other-extensions: -- other-extensions:
@ -33,6 +51,7 @@ library
default-language: Haskell2010 default-language: Haskell2010
executable semantic-ast executable semantic-ast
import: haskell
main-is: Main.hs main-is: Main.hs
-- other-modules: -- other-modules:
-- other-extensions: -- other-extensions: