Skip to content

Commit

Permalink
Change default language to GHC2021 & use Text
Browse files Browse the repository at this point in the history
  • Loading branch information
WoWaster committed Apr 16, 2024
1 parent 0090cf0 commit 27a7cc9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
15 changes: 12 additions & 3 deletions distiller/distiller.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ library
Paths_distiller
hs-source-dirs:
src
default-extensions:
OverloadedStrings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
base >=4.7 && <5
, lang
default-language: Haskell2010
, text
default-language: GHC2021

executable distiller-exe
main-is: Main.hs
Expand All @@ -46,12 +49,15 @@ executable distiller-exe
Paths_distiller
hs-source-dirs:
app
default-extensions:
OverloadedStrings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, distiller
, lang
default-language: Haskell2010
, text
default-language: GHC2021

test-suite distiller-test
type: exitcode-stdio-1.0
Expand All @@ -62,9 +68,12 @@ test-suite distiller-test
Paths_distiller
hs-source-dirs:
test
default-extensions:
OverloadedStrings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, distiller
, lang
default-language: Haskell2010
, text
default-language: GHC2021
6 changes: 6 additions & 0 deletions distiller/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ description: Please see the README on GitHub at <https://github.com/KubEF/distil
dependencies:
- base >= 4.7 && < 5
- lang
- text

language: GHC2021

default-extensions:
- OverloadedStrings

ghc-options:
- -Wall
Expand Down
15 changes: 12 additions & 3 deletions lang/lang.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ library
Paths_lang
hs-source-dirs:
src
default-extensions:
OverloadedStrings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
build-depends:
base >=4.7 && <5
default-language: Haskell2010
, text
default-language: GHC2021

executable lang-exe
main-is: Main.hs
Expand All @@ -45,11 +48,14 @@ executable lang-exe
Paths_lang
hs-source-dirs:
app
default-extensions:
OverloadedStrings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, lang
default-language: Haskell2010
, text
default-language: GHC2021

test-suite lang-test
type: exitcode-stdio-1.0
Expand All @@ -60,8 +66,11 @@ test-suite lang-test
Paths_lang
hs-source-dirs:
test
default-extensions:
OverloadedStrings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, lang
default-language: Haskell2010
, text
default-language: GHC2021
6 changes: 6 additions & 0 deletions lang/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ description: Please see the README on GitHub at <https://github.com/Lamagraph/in

dependencies:
- base >= 4.7 && < 5
- text

language: GHC2021

default-extensions:
- OverloadedStrings

ghc-options:
- -Wall
Expand Down

0 comments on commit 27a7cc9

Please sign in to comment.