From c7cc8467ca1835c8f96ccb5be7c976a26d262433 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 20 Dec 2023 19:53:05 +0000 Subject: Updated to use GHC 9.4.x and floating dependencies --- micro.cabal | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) (limited to 'micro.cabal') 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 -- cgit v1.2.3