-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathhaskell-stack-trace-plugin.cabal
More file actions
78 lines (64 loc) · 2.21 KB
/
haskell-stack-trace-plugin.cabal
File metadata and controls
78 lines (64 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
cabal-version: 2.4
name: haskell-stack-trace-plugin
version: 0.1.3.0
synopsis: haskell-stack-trace-plugin
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.
homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
bug-reports:
https://github.com/waddlaw/haskell-stack-trace-plugin/issues
license: MIT
license-file: LICENSE
author: Shinya Yamaguchi
maintainer: a@wado.dev
copyright: 2018-2022 Shinya Yamaguchi
category: Compiler Plugin, Development, Debug
build-type: Simple
extra-source-files:
CHANGELOG.md
Readme.md
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.1 || ==9.12.1
source-repository head
type: git
location: git://github.com/waddlaw/haskell-stack-trace-plugin
flag dev
description: Turn on development settings.
manual: True
default: False
common common-opts
build-depends: base >=4.12 && <4.22
default-language: Haskell2010
library
import: common-opts
hs-source-dirs: src
build-depends: ghc ^>=8.6 || ^>=8.8 || ^>=8.10 || ^>=9.4 || ^>=9.6 || ^>=9.8 || ^>=9.10 || ^>=9.12
exposed-modules: StackTrace.Plugin
if flag(dev)
ghc-options:
-Wall -Werror -Wcompat -Wincomplete-uni-patterns
-Wnoncanonical-monad-instances -Wno-missing-home-modules
else
ghc-options: -Wall
test-suite test
import: common-opts
main-is: Spec.hs
hs-source-dirs: test
type: exitcode-stdio-1.0
build-depends:
, bytestring >=0.10
, hspec ^>=2.8 || ^>=2.11
, raw-strings-qq ^>=1.1
, regex-tdfa ^>=1.3
, typed-process ^>=0.2
build-tool-depends: hspec-discover:hspec-discover ^>=2.8
other-modules: StackTrace.PluginSpec
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -Wall
executable example
import: common-opts
main-is: Main.hs
hs-source-dirs: example
ghc-options: -fplugin=StackTrace.Plugin -Wredundant-constraints
build-depends: haskell-stack-trace-plugin