Skip to content

Commit

Permalink
Correct dependency bounds
Browse files Browse the repository at this point in the history
Inspired by mrkkrp/megaparsec#548, which see.
  • Loading branch information
mrkkrp committed Oct 24, 2023
1 parent 0e33e55 commit 015bdf6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions extract-hackage-info/extract-hackage-info.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ executable extract-hackage-info
ghc-options: -O2 -Wall -rtsopts -Wunused-packages
build-depends:
Cabal-syntax >=3.10 && <3.11,
base >=4.12 && <5.0,
base >=4.12 && <5,
binary >=0.8 && <0.9,
bytestring >=0.10 && <0.13,
containers >=0.6 && <0.8,
directory >=1.0 && <2.0,
directory >=1 && <2,
filepath >=1.2 && <1.5,
optparse-applicative >=0.14 && <0.19,
ormolu,
text >=2.0 && <3.0,
text >=2 && <3,
formatting >=7.1 && <7.3,
megaparsec >=9.0
megaparsec >=9
26 changes: 13 additions & 13 deletions ormolu.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ library
default-language: GHC2021
build-depends:
Cabal-syntax >=3.10 && <3.11,
Diff >=0.4 && <1.0,
Diff >=0.4 && <1,
MemoTrie >=0.6 && <0.7,
ansi-terminal >=0.10 && <1.1,
array >=0.5 && <0.6,
base >=4.14 && <5.0,
base >=4.14 && <5,
binary >=0.8 && <0.9,
bytestring >=0.2 && <0.13,
containers >=0.5 && <0.8,
Expand All @@ -111,10 +111,10 @@ library
file-embed >=0.0.15 && <0.1,
filepath >=1.2 && <1.5,
ghc-lib-parser >=9.8 && <9.9,
megaparsec >=9.0,
mtl >=2.0 && <3.0,
megaparsec >=9,
mtl >=2 && <3,
syb >=0.7 && <0.8,
text >=2.0 && <3.0
text >=2 && <3

if flag(dev)
ghc-options:
Expand All @@ -135,14 +135,14 @@ executable ormolu
default-language: GHC2021
build-depends:
Cabal-syntax >=3.10 && <3.11,
base >=4.12 && <5.0,
base >=4.12 && <5,
containers >=0.5 && <0.7,
directory ^>=1.3,
filepath >=1.2 && <1.5,
ghc-lib-parser >=9.8 && <9.9,
optparse-applicative >=0.14 && <0.19,
ormolu,
text >=2.0 && <3.0,
text >=2 && <3,
th-env >=0.1.1 && <0.2

if flag(dev)
Expand All @@ -156,7 +156,7 @@ executable ormolu
test-suite tests
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
hs-source-dirs: tests
other-modules:
Ormolu.CabalInfoSpec
Expand All @@ -174,19 +174,19 @@ test-suite tests
build-depends:
Cabal-syntax >=3.10 && <3.11,
QuickCheck >=2.14,
base >=4.14 && <5.0,
base >=4.14 && <5,
containers >=0.5 && <0.7,
directory ^>=1.3,
filepath >=1.2 && <1.5,
ghc-lib-parser >=9.8 && <9.9,
hspec >=2.0 && <3.0,
hspec >=2 && <3,
hspec-megaparsec >=2.2,
megaparsec >=9.0,
megaparsec >=9,
ormolu,
path >=0.6 && <0.10,
path-io >=1.4.2 && <2.0,
path-io >=1.4.2 && <2,
temporary ^>=1.3,
text >=2.0 && <3.0
text >=2 && <3

if flag(dev)
ghc-options:
Expand Down

0 comments on commit 015bdf6

Please sign in to comment.