git.iko.soy/typeable/haskell-stack-trace-plugin
on master help sign in
update cabal-version to 2.4
commit6e94c574a660e2a6703e816bb78f64dc4e125486 authorwaddlaw <ingronze@gmail.com> dateSat 18 Jan 2020, 13:18 (7 years ago) parent39a744a
1 file changed+15−13
haskell-stack-trace-plugin.cabal+15−13
haskell-stack-trace-plugin.cabal+15−13
@@ -1,3 +1,4 @@
1+cabal-version: 2.4
12name: haskell-stack-trace-plugin
23version: 0.1.0.1
34synopsis: haskell-stack-trace-plugin
@@ -12,7 +13,6 @@ copyright: 2018-2020 Shinya Yamaguchi
1213category: Compiler Plugin, Development, Debug
1314build-type: Simple
1415extra-source-files: CHANGELOG.md, Readme.md
15−cabal-version: >=1.10
1616tested-with: GHC == 8.6.5
1717
1818source-repository head
@@ -24,11 +24,17 @@ flag dev
2424 manual: True
2525 default: False
2626
27+common common-opts
28+ build-depends:
29+ base ^>=4.12
30+
31+ default-language: Haskell2010
32+
2733library
34+ import: common-opts
2835 hs-source-dirs: src
2936 build-depends:
30− base >=4.12 && <4.13,
31− ghc>=8.6.2 && <8.6.6
37+ ghc ^>=8.6
3238
3339 exposed-modules:
3440 StackTrace.Plugin
@@ -42,20 +48,19 @@ library
4248 -Wno-missing-home-modules
4349 else
4450 ghc-options: -O2 -Wall
45− default-language: Haskell2010
4651
4752test-suite test
53+ import: common-opts
4854 main-is: Spec.hs
4955 hs-source-dirs: test
5056 type: exitcode-stdio-1.0
5157 build-depends:
52− base >=4.12 && <4.13,
53− bytestring >= 0.10.8 && <0.11,
54− hspec >= 2.7 && <2.8,
55− typed-process >= 0.2.6 && <0.2.9
58+ bytestring ^>=0.10,
59+ hspec ^>=2.7,
60+ typed-process ^>=0.2.6
5661
5762 build-tool-depends:
58− hspec-discover:hspec-discover >= 2.7 && <2.8
63+ hspec-discover:hspec-discover ^>= 2.7
5964
6065 other-modules: StackTrace.PluginSpec
6166
@@ -64,14 +69,11 @@ test-suite test
6469 else
6570 ghc-options: -O2 -Wall
6671
67− default-language: Haskell2010
68−
6972executable example
73+ import: common-opts
7074 main-is: Main.hs
7175 hs-source-dirs: example
72− default-language: Haskell2010
7376 ghc-options:
7477 -fplugin=StackTrace.Plugin
7578 build-depends:
76− base >=4.12 && <4.13,
7779 haskell-stack-trace-plugin