Skip to content

Commit

Permalink
Bump 'cabal-version' to >= 1.10, required for hackage
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Jan 30, 2022
1 parent a9a0f76 commit 0638dce
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions shelly.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Homepage: https://github.com/yesodweb/Shelly.hs
License: BSD3
License-file: LICENSE
Author: Greg Weber, Petr Rockai
Maintainer: Greg Weber <[email protected]>
Maintainer: Greg Weber <[email protected]>, Andreas Abel
Category: Development
Build-type: Simple
Cabal-version: >=1.8
Cabal-version: >=1.10

tested-with:
GHC == 8.0.2
Expand Down Expand Up @@ -97,7 +97,8 @@ Library
cpp-options:
-DNO_PRELUDE_CATCH

extensions:
default-language: Haskell2010
default-extensions:
CPP

source-repository head
Expand Down Expand Up @@ -136,7 +137,8 @@ Test-Suite shelly-testsuite
-funbox-strict-fields
-fno-warn-type-defaults

extensions:
default-language: Haskell2010
default-extensions:
OverloadedStrings
ExtendedDefaultRules

Expand All @@ -159,7 +161,7 @@ Test-Suite shelly-testsuite
, hspec-contrib
, HUnit >= 1.2.5.2

extensions:
default-extensions:
CPP

Flag build-examples
Expand All @@ -172,36 +174,39 @@ Flag build-examples
Executable drain
hs-source-dirs: test/examples
main-is: drain.hs
default-language: Haskell2010
if flag(build-examples)
buildable: True

build-depends: base
, shelly
, text

extensions:
default-extensions:
CPP
else
buildable: False

Executable run-handles
hs-source-dirs: test/examples
main-is: run-handles.hs
default-language: Haskell2010
if flag(build-examples)
buildable: True

build-depends: base
, shelly
, text

extensions:
default-extensions:
CPP
else
buildable: False

Executable Color
hs-source-dirs: test/examples
main-is: color.hs
default-language: Haskell2010
if flag(build-examples)
buildable: True

Expand Down

0 comments on commit 0638dce

Please sign in to comment.