Enable some defaults (Safe, NoImplicitPrelude)

This commit is contained in:
vegowotenks 2025-08-11 16:01:09 +02:00
parent 6ebbb483f5
commit 4bd766027f
5 changed files with 18 additions and 9 deletions

View file

@ -19,11 +19,14 @@ extra-source-files:
library
exposed-modules:
Lib
Language.Scalie.Ast
other-modules:
Paths_scalie
hs-source-dirs:
src
default-extensions:
Safe
NoImplicitPrelude
ghc-options: -Weverything
build-depends:
base >=4.7 && <5
@ -35,6 +38,9 @@ executable scalie-exe
Paths_scalie
hs-source-dirs:
app
default-extensions:
Safe
NoImplicitPrelude
ghc-options: -Weverything -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
@ -48,6 +54,9 @@ test-suite scalie-test
Paths_scalie
hs-source-dirs:
test
default-extensions:
Safe
NoImplicitPrelude
ghc-options: -Weverything -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5