git.iko.soy/typeable/haskell-stack-trace-plugin
on f6d4eea help sign in
typeable/haskell-stack-trace-plugin/haskell-stack-trace-plugin.cabal
77 lines 2.3 kB history raw
1name: haskell-stack-trace-plugin
2version: 0.1.0.1
3synopsis: haskell-stack-trace-plugin
4description: This plugin allow implicitly add HasCallStack class to every top-level function for all module. Hence, we can to get completely continuous call stack.
5homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
6bug-reports: https://github.com/waddlaw/haskell-stack-trace-plugin/issues
7license: MIT
8license-file: LICENSE
9author: Shinya Yamaguchi
10maintainer: ingronze@gmail.com
11copyright: 2018-2020 Shinya Yamaguchi
12category: Compiler Plugin, Development, Debug
13build-type: Simple
14extra-source-files: CHANGELOG.md, Readme.md
15cabal-version: >=1.10
16tested-with: GHC == 8.6.5
18source-repository head
19 type: git
20 location: git://github.com/waddlaw/haskell-stack-trace-plugin
22flag dev
23 description: Turn on development settings.
24 manual: True
25 default: False
27library
28 hs-source-dirs: src
29 build-depends:
30 base >=4.12 && <4.13,
31 ghc>=8.6.2 && <8.6.6
33 exposed-modules:
34 StackTrace.Plugin
36 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
43 else
44 ghc-options: -O2 -Wall
45 default-language: Haskell2010
47test-suite test
48 main-is: Spec.hs
49 hs-source-dirs: test
50 type: exitcode-stdio-1.0
51 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
57 build-tool-depends:
58 hspec-discover:hspec-discover >= 2.7 && <2.8
60 other-modules: StackTrace.PluginSpec
62 if flag(dev)
63 ghc-options: -Wall -Werror
64 else
65 ghc-options: -O2 -Wall
67 default-language: Haskell2010
69executable example
70 main-is: Main.hs
71 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