diff options
| author | tv <tv@krebsco.de> | 2026-03-07 14:04:59 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-03-07 23:32:27 +0100 |
| commit | a6dd9834628614c0b7c815165bc0cf4139131b8c (patch) | |
| tree | 31b197df29104a6768a92670301fe6212007f3f8 | |
| parent | 65ad1a75225dca196c8f6ff826e060f49b3fa3a3 (diff) | |
cabal: 1.8 -> 3.0 & GHC2024
| -rw-r--r-- | blessings.cabal | 16 | ||||
| -rw-r--r-- | src/Blessings.hs | 1 |
2 files changed, 9 insertions, 8 deletions
diff --git a/blessings.cabal b/blessings.cabal index 8fc4f91..6b923ff 100644 --- a/blessings.cabal +++ b/blessings.cabal @@ -1,4 +1,4 @@ -cabal-version: >=1.8 +cabal-version: 3.0 name: blessings version: 2.6.0 license: MIT @@ -20,8 +20,9 @@ library Blessings.Text Blessings.Text.WCWidth - hs-source-dirs: src - ghc-options: -O2 -Wall + hs-source-dirs: src + default-language: GHC2024 + ghc-options: -Wall -Wextra build-depends: base, bytestring, @@ -30,10 +31,11 @@ library wcwidth test-suite test-blessings - type: exitcode-stdio-1.0 - main-is: Spec.hs - hs-source-dirs: test - ghc-options: -Wall + type: exitcode-stdio-1.0 + main-is: Spec.hs + hs-source-dirs: test + default-language: GHC2024 + ghc-options: -Wall build-depends: base, blessings, diff --git a/src/Blessings.hs b/src/Blessings.hs index 3d8a5c4..a62546e 100644 --- a/src/Blessings.hs +++ b/src/Blessings.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} |
