aboutsummaryrefslogtreecommitdiff
path: root/micro.cabal
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-12-20 19:53:05 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-12-20 19:53:05 +0000
commitc7cc8467ca1835c8f96ccb5be7c976a26d262433 (patch)
tree007845bfd68c97ce88056912942617424c2f93a8 /micro.cabal
parent9ebeada35c00160b19161928be74e44093686985 (diff)
downloadmicro-lang-hs-c7cc8467ca1835c8f96ccb5be7c976a26d262433.tar.gz
micro-lang-hs-c7cc8467ca1835c8f96ccb5be7c976a26d262433.zip
Updated to use GHC 9.4.x and floating dependencies
Diffstat (limited to 'micro.cabal')
-rw-r--r--micro.cabal35
1 files changed, 20 insertions, 15 deletions
diff --git a/micro.cabal b/micro.cabal
index b62f751..ec4cac6 100644
--- a/micro.cabal
+++ b/micro.cabal
@@ -26,13 +26,18 @@ library
Micro.Compiler
Micro.Asm.Sdcc
build-depends:
- base ^>= 4.16.1.0
- , parsec ^>= 3.1.15.1
- , mtl ^>= 2.2.2
- , containers ^>= 0.6.5.1
+ base
+ , parsec
+ , mtl
+ , containers
hs-source-dirs: src
- ghc-options: -Wall -Wno-name-shadowing
- default-language: Haskell2010
+ ghc-options: -Wall -Wno-name-shadowing -Werror -O2 -j
+ default-extensions:
+ OverloadedStrings
+ OverloadedRecordDot
+ DuplicateRecordFields
+ NoFieldSelectors
+ default-language: GHC2021
test-suite tests
type: exitcode-stdio-1.0
@@ -40,22 +45,22 @@ test-suite tests
other-modules:
Language
build-depends:
- base ^>= 4.16.1.0
- , parsec ^>= 3.1.15.1
- , mtl ^>= 2.2.2
- , containers ^>= 0.6.5.1
+ base
+ , parsec
+ , mtl
+ , containers
, HUnit
, micro
hs-source-dirs: test
- default-language: Haskell2010
+ default-language: GHC2021
executable micro
main-is: Main.hs
build-depends:
- base ^>= 4.16.1.0
- , containers ^>= 0.6.5.1
- , mtl ^>= 2.2.2
+ base
+ , containers
+ , mtl
, micro
hs-source-dirs: app
- default-language: Haskell2010
+ default-language: GHC2021