Skip to content

Commit

Permalink
Support new GHCs on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vrom911 committed Oct 20, 2024
1 parent c9d048e commit 9dc5f2c
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 15 deletions.
36 changes: 26 additions & 10 deletions summoner-cli/summoner.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: summoner
version: 2.0.1.1
version: 2.0.2.0
synopsis: Tool for scaffolding fully configured batteries-included production-level Haskell projects.
description: Tool for scaffolding fully configured batteries-included production-level Haskell projects.
See [README.md](https://github.com/kowainik/summoner#-summoner) for details.
Expand All @@ -10,7 +10,7 @@ license: MPL-2.0
license-file: LICENSE
author: Veronika Romashkina, Dmitrii Kovanikov
maintainer: Kowainik <[email protected]>
copyright: 2018-2022 Kowainik
copyright: 2018-2024 Kowainik
category: CLI, CLI Tool, Development
build-type: Simple
stability: stable
Expand All @@ -21,7 +21,11 @@ tested-with: GHC == 8.4.4
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.2
GHC == 9.2.4
GHC == 9.2.8
GHC == 9.4.7
GHC == 9.6.6
GHC == 9.8.2
GHC == 9.10.1
extra-source-files:
examples/summoner-default.toml

Expand Down Expand Up @@ -74,7 +78,7 @@ source-repository head
location: [email protected]:kowainik/summoner.git

common common-options
build-depends: base >= 4.11 && < 4.19
build-depends: base >= 4.11 && < 4.21
, relude >= 1.0.0.0 && < 1.3

mixins: base hiding (Prelude)
Expand All @@ -98,6 +102,18 @@ common common-options
-hiedir=../.hie
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
if impl(ghc >= 9.0)
ghc-options: -Winvalid-haddock
if impl(ghc >= 9.2)
ghc-options: -Wredundant-bang-patterns
-Woperator-whitespace
if impl(ghc >= 9.4 && < 9.10)
ghc-options: -Wforall-identifier
if impl(ghc >= 9.4)
ghc-options: -Wredundant-strictness-flags
if impl(ghc >= 9.8)
ghc-options: -Wterm-variable-capture
-Winconsistent-flags

default-extensions: DeriveGeneric
DerivingStrategies
Expand Down Expand Up @@ -148,14 +164,14 @@ library

build-depends: colourista ^>= 0.1.0.1
, directory ^>= 1.3.0.2
, filepath ^>= 1.4.1.2
, generic-data >= 0.8.0.0 && < 1.1
, filepath >= 1.4.1.2 && < 1.6
, generic-data >= 0.8.0.0 && < 1.2
, gitrev ^>= 1.3.1
, microaeson ^>= 0.1.0.0
, optparse-applicative >= 0.16 && < 0.19
, process ^>= 1.6.1.0
, shellmet ^>= 0.0.3.0
, time >= 1.8 && < 1.14
, shellmet >= 0.0.3.0 && < 0.0.6
, time >= 1.8 && < 1.15
, tomland ^>= 1.3.0.0
, validation-selective >= 0.1.0.0 && < 0.3

Expand Down Expand Up @@ -189,9 +205,9 @@ test-suite summoner-test

build-depends: directory
, filepath
, hedgehog >= 0.5.3 && < 1.3
, hedgehog >= 0.5.3 && < 1.6
, hspec >= 2.4.8
, hspec-hedgehog ^>= 0.0.1.1
, hspec-hedgehog >= 0.0.1.1 && < 0.4
, tomland
, tree-diff >= 0.0.2 && < 0.4
, summoner
Expand Down
26 changes: 21 additions & 5 deletions summoner-tui/summoner-tui.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: summoner-tui
version: 2.0.1.1
version: 2.0.2.0
synopsis: Tool for scaffolding fully configured batteries-included production-level Haskell projects using TUI.
description: Tool for scaffolding fully configured batteries-included production-level Haskell projects using TUI.
See [README.md](https://github.com/kowainik/summoner#-summoner) for details.
Expand All @@ -10,7 +10,7 @@ license: MPL-2.0
license-file: LICENSE
author: Veronika Romashkina, Dmitrii Kovanikov
maintainer: Kowainik <[email protected]>
copyright: 2018-2022 Kowainik
copyright: 2018-2024 Kowainik
category: TUI, TUI Tool, Development
build-type: Simple
stability: experimental
Expand All @@ -21,14 +21,18 @@ tested-with: GHC == 8.4.4
GHC == 8.8.4
GHC == 8.10.7
GHC == 9.0.2
GHC == 9.2.4
GHC == 9.2.8
GHC == 9.4.7
GHC == 9.6.6
GHC == 9.8.2
GHC == 9.10.1

source-repository head
type: git
location: [email protected]:kowainik/summoner.git

common common-options
build-depends: base >= 4.11 && < 4.19
build-depends: base >= 4.11 && < 4.21
, relude >= 1.0.0.0 && < 1.3

mixins: base hiding (Prelude)
Expand All @@ -52,6 +56,18 @@ common common-options
-hiedir=../.hie
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
if impl(ghc >= 9.0)
ghc-options: -Winvalid-haddock
if impl(ghc >= 9.2)
ghc-options: -Wredundant-bang-patterns
-Woperator-whitespace
if impl(ghc >= 9.4 && < 9.10)
ghc-options: -Wforall-identifier
if impl(ghc >= 9.4)
ghc-options: -Wredundant-strictness-flags
if impl(ghc >= 9.8)
ghc-options: -Wterm-variable-capture
-Winconsistent-flags

default-extensions: DeriveGeneric
DerivingStrategies
Expand Down Expand Up @@ -88,7 +104,7 @@ library
, microlens-th ^>= 0.4
, summoner ^>= 2.0.0.0
, validation-selective >= 0.0.0.0 && < 0.3
, vty >= 5.36 && < 6.0
, vty >= 5.36 && < 6.3

executable summon-tui
import: common-options
Expand Down

0 comments on commit 9dc5f2c

Please sign in to comment.