@@ -1,77 +1,78 @@
1−name: haskell-stack-trace-plugin
2−version: 0.1.0.1
3−synopsis: haskell-stack-trace-plugin
4−description: This plugin allow implicitly add HasCallStack class to every top-level function for all module. Hence, we can to get completely continuous call stack.
5−homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
6−bug-reports: https://github.com/waddlaw/haskell-stack-trace-plugin/issues
7−license: MIT
8−license-file: LICENSE
9−author: Shinya Yamaguchi
10−maintainer: ingronze@gmail.com
11−copyright: 2018-2020 Shinya Yamaguchi
12−category: Compiler Plugin, Development, Debug
13−build-type: Simple
14−extra-source-files: CHANGELOG.md, Readme.md
15−cabal-version: >=1.10
16−tested-with: GHC == 8.6.5
1+cabal-version: 2.4
2+name: haskell-stack-trace-plugin
3+version: 0.1.1.0
4+synopsis: haskell-stack-trace-plugin
5+description:
6+ This plugin allow implicitly add HasCallStack class to every top-level function for all module. Hence, we can to get completely continuous call stack.
7+
8+homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
9+bug-reports:
10+ https://github.com/waddlaw/haskell-stack-trace-plugin/issues
11+
12+license: MIT
13+license-file: LICENSE
14+author: Shinya Yamaguchi
15+maintainer: ingronze@gmail.com
16+copyright: 2018-2020 Shinya Yamaguchi
17+category: Compiler Plugin, Development, Debug
18+build-type: Simple
19+extra-source-files:
20+ CHANGELOG.md
21+ Readme.md
22+
23+tested-with: GHC ==8.6.5
1724
1825source-repository head
1926 type: git
2027 location: git://github.com/waddlaw/haskell-stack-trace-plugin
2128
2229flag dev
23− description: Turn on development settings.
24− manual: True
25− default: False
30+ description: Turn on development settings.
31+ manual: True
32+ default: False
2633
27−library
28− hs-source-dirs: src
29− build-depends:
30− base >=4.12 && <4.13,
31− ghc>=8.6.2 && <8.6.6
34+common common-opts
35+ build-depends: base ^>=4.12
36+ default-language: Haskell2010
3237
33− exposed-modules:
34− StackTrace.Plugin
38+library
39+ import: common-opts
40+ hs-source-dirs: src
41+ build-depends: ghc ^>=8.6
42+ exposed-modules: StackTrace.Plugin
3543
3644 if flag(dev)
37− ghc-options: -Wall -Werror -Wcompat
38− -- -Wincomplete-record-updates
39− -Wincomplete-uni-patterns
40− -Wnoncanonical-monad-instances
41− -Wnoncanonical-monadfail-instances
42− -Wno-missing-home-modules
45+ ghc-options:
46+ -Wall -Werror -Wcompat -Wincomplete-uni-patterns
47+ -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
48+ -Wno-missing-home-modules
49+
50+ -- -Wincomplete-record-updates
4351 else
44− ghc-options: -O2 -Wall
45− default-language: Haskell2010
52+ ghc-options: -O2 -Wall
4653
4754test-suite test
55+ import: common-opts
4856 main-is: Spec.hs
4957 hs-source-dirs: test
5058 type: exitcode-stdio-1.0
5159 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
56−
57− build-tool-depends:
58− hspec-discover:hspec-discover >= 2.7 && <2.8
60+ , bytestring ^>=0.10
61+ , hspec ^>=2.7
62+ , typed-process ^>=0.2.6
5963
60− other-modules: StackTrace.PluginSpec
64+ build-tool-depends: hspec-discover:hspec-discover ^>=2.7
65+ other-modules: StackTrace.PluginSpec
6166
6267 if flag(dev)
63− ghc-options: -Wall -Werror
64− else
65− ghc-options: -O2 -Wall
68+ ghc-options: -Wall -Werror
6669
67− default-language: Haskell2010
70+ else
71+ ghc-options: -O2 -Wall
6872
6973executable example
70− main-is: Main.hs
74+ import: common-opts
75+ main-is: Main.hs
7176 hs-source-dirs: example
72− default-language: Haskell2010
73− ghc-options:
74− -fplugin=StackTrace.Plugin
75− build-depends:
76− base >=4.12 && <4.13,
77− haskell-stack-trace-plugin
77+ ghc-options: -fplugin=StackTrace.Plugin
78+ build-depends: haskell-stack-trace-plugin