git.iko.soy/typeable/haskell-stack-trace-plugin
on master help sign in
typeable/haskell-stack-trace-plugin/haskell-stack-trace-plugin.cabal
76 lines 2.1 kB history raw
1cabal-version: 2.4
2name: haskell-stack-trace-plugin
3version: 0.1.3.0
4synopsis: haskell-stack-trace-plugin
5description:
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.
8homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
9bug-reports:
10 https://github.com/waddlaw/haskell-stack-trace-plugin/issues
12license: MIT
13license-file: LICENSE
14author: Shinya Yamaguchi
15maintainer: a@wado.dev
16copyright: 2018-2021 Shinya Yamaguchi
17category: Compiler Plugin, Development, Debug
18build-type: Simple
19extra-source-files:
20 CHANGELOG.md
21 Readme.md
23tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
25source-repository head
26 type: git
27 location: git://github.com/waddlaw/haskell-stack-trace-plugin
29flag dev
30 description: Turn on development settings.
31 manual: True
32 default: False
34common common-opts
35 build-depends: base >=4.12 && <4.18
36 default-language: Haskell2010
38library
39 import: common-opts
40 hs-source-dirs: src
41 build-depends: ghc ^>=8.6 || ^>=8.8 || ^>=8.10 || ^>=9.0 || ^>=9.2 || ^>=9.4
42 exposed-modules: StackTrace.Plugin
44 if flag(dev)
45 ghc-options:
46 -Wall -Werror -Wcompat -Wincomplete-uni-patterns
47 -Wnoncanonical-monad-instances -Wno-missing-home-modules
49 else
50 ghc-options: -Wall
52test-suite test
53 import: common-opts
54 main-is: Spec.hs
55 hs-source-dirs: test
56 type: exitcode-stdio-1.0
57 build-depends:
58 , bytestring >=0.10 && <0.12
59 , hspec ^>=2.8
60 , typed-process ^>=0.2
62 build-tool-depends: hspec-discover:hspec-discover ^>=2.8
63 other-modules: StackTrace.PluginSpec
65 if flag(dev)
66 ghc-options: -Wall -Werror
68 else
69 ghc-options: -Wall
71executable example
72 import: common-opts
73 main-is: Main.hs
74 hs-source-dirs: example
75 ghc-options: -fplugin=StackTrace.Plugin -Wredundant-constraints
76 build-depends: haskell-stack-trace-plugin