update cabal-version to 2.4

This commit is contained in:
waddlaw 2020-01-18 13:18:14 +09:00
parent 39a744ad99
commit 6e94c574a6

View File

@ -1,3 +1,4 @@
cabal-version: 2.4
name: haskell-stack-trace-plugin
version: 0.1.0.1
synopsis: haskell-stack-trace-plugin
@ -12,7 +13,6 @@ copyright: 2018-2020 Shinya Yamaguchi
category: Compiler Plugin, Development, Debug
build-type: Simple
extra-source-files: CHANGELOG.md, Readme.md
cabal-version: >=1.10
tested-with: GHC == 8.6.5
source-repository head
@ -24,11 +24,17 @@ flag dev
manual: True
default: False
common common-opts
build-depends:
base ^>=4.12
default-language: Haskell2010
library
import: common-opts
hs-source-dirs: src
build-depends:
base >=4.12 && <4.13,
ghc>=8.6.2 && <8.6.6
ghc ^>=8.6
exposed-modules:
StackTrace.Plugin
@ -42,20 +48,19 @@ library
-Wno-missing-home-modules
else
ghc-options: -O2 -Wall
default-language: Haskell2010
test-suite test
import: common-opts
main-is: Spec.hs
hs-source-dirs: test
type: exitcode-stdio-1.0
build-depends:
base >=4.12 && <4.13,
bytestring >= 0.10.8 && <0.11,
hspec >= 2.7 && <2.8,
typed-process >= 0.2.6 && <0.2.9
bytestring ^>=0.10,
hspec ^>=2.7,
typed-process ^>=0.2.6
build-tool-depends:
hspec-discover:hspec-discover >= 2.7 && <2.8
hspec-discover:hspec-discover ^>= 2.7
other-modules: StackTrace.PluginSpec
@ -64,14 +69,11 @@ test-suite test
else
ghc-options: -O2 -Wall
default-language: Haskell2010
executable example
import: common-opts
main-is: Main.hs
hs-source-dirs: example
default-language: Haskell2010
ghc-options:
-fplugin=StackTrace.Plugin
build-depends:
base >=4.12 && <4.13,
haskell-stack-trace-plugin