mirror of
https://github.com/typeable/haskell-stack-trace-plugin.git
synced 2024-09-17 15:07:15 +03:00
Apply cabal-fmt
This commit is contained in:
parent
6e94c574a6
commit
f6cc765585
@ -1,79 +1,78 @@
|
|||||||
cabal-version: 2.4
|
cabal-version: 2.4
|
||||||
name: haskell-stack-trace-plugin
|
name: haskell-stack-trace-plugin
|
||||||
version: 0.1.0.1
|
version: 0.1.0.1
|
||||||
synopsis: haskell-stack-trace-plugin
|
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.
|
description:
|
||||||
homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
|
This plugin allow implicitly add HasCallStack class to every top-level function for all module. Hence, we can to get completely continuous call stack.
|
||||||
bug-reports: https://github.com/waddlaw/haskell-stack-trace-plugin/issues
|
|
||||||
license: MIT
|
homepage: https://github.com/waddlaw/haskell-stack-trace-plugin
|
||||||
license-file: LICENSE
|
bug-reports:
|
||||||
author: Shinya Yamaguchi
|
https://github.com/waddlaw/haskell-stack-trace-plugin/issues
|
||||||
maintainer: ingronze@gmail.com
|
|
||||||
copyright: 2018-2020 Shinya Yamaguchi
|
license: MIT
|
||||||
category: Compiler Plugin, Development, Debug
|
license-file: LICENSE
|
||||||
build-type: Simple
|
author: Shinya Yamaguchi
|
||||||
extra-source-files: CHANGELOG.md, Readme.md
|
maintainer: ingronze@gmail.com
|
||||||
tested-with: GHC == 8.6.5
|
copyright: 2018-2020 Shinya Yamaguchi
|
||||||
|
category: Compiler Plugin, Development, Debug
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files:
|
||||||
|
CHANGELOG.md
|
||||||
|
Readme.md
|
||||||
|
|
||||||
|
tested-with: GHC ==8.6.5
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/waddlaw/haskell-stack-trace-plugin
|
location: git://github.com/waddlaw/haskell-stack-trace-plugin
|
||||||
|
|
||||||
flag dev
|
flag dev
|
||||||
description: Turn on development settings.
|
description: Turn on development settings.
|
||||||
manual: True
|
manual: True
|
||||||
default: False
|
default: False
|
||||||
|
|
||||||
common common-opts
|
common common-opts
|
||||||
build-depends:
|
build-depends: base ^>=4.12
|
||||||
base ^>=4.12
|
default-language: Haskell2010
|
||||||
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
library
|
library
|
||||||
import: common-opts
|
import: common-opts
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
build-depends:
|
build-depends: ghc ^>=8.6
|
||||||
ghc ^>=8.6
|
exposed-modules: StackTrace.Plugin
|
||||||
|
|
||||||
exposed-modules:
|
|
||||||
StackTrace.Plugin
|
|
||||||
|
|
||||||
if flag(dev)
|
if flag(dev)
|
||||||
ghc-options: -Wall -Werror -Wcompat
|
ghc-options:
|
||||||
-- -Wincomplete-record-updates
|
-Wall -Werror -Wcompat -Wincomplete-uni-patterns
|
||||||
-Wincomplete-uni-patterns
|
-Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
|
||||||
-Wnoncanonical-monad-instances
|
-Wno-missing-home-modules
|
||||||
-Wnoncanonical-monadfail-instances
|
|
||||||
-Wno-missing-home-modules
|
-- -Wincomplete-record-updates
|
||||||
else
|
else
|
||||||
ghc-options: -O2 -Wall
|
ghc-options: -O2 -Wall
|
||||||
|
|
||||||
test-suite test
|
test-suite test
|
||||||
import: common-opts
|
import: common-opts
|
||||||
main-is: Spec.hs
|
main-is: Spec.hs
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
build-depends:
|
build-depends:
|
||||||
bytestring ^>=0.10,
|
, bytestring ^>=0.10
|
||||||
hspec ^>=2.7,
|
, hspec ^>=2.7
|
||||||
typed-process ^>=0.2.6
|
, typed-process ^>=0.2.6
|
||||||
|
|
||||||
build-tool-depends:
|
build-tool-depends: hspec-discover:hspec-discover ^>=2.7
|
||||||
hspec-discover:hspec-discover ^>= 2.7
|
other-modules: StackTrace.PluginSpec
|
||||||
|
|
||||||
other-modules: StackTrace.PluginSpec
|
|
||||||
|
|
||||||
if flag(dev)
|
if flag(dev)
|
||||||
ghc-options: -Wall -Werror
|
ghc-options: -Wall -Werror
|
||||||
|
|
||||||
else
|
else
|
||||||
ghc-options: -O2 -Wall
|
ghc-options: -O2 -Wall
|
||||||
|
|
||||||
executable example
|
executable example
|
||||||
import: common-opts
|
import: common-opts
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
hs-source-dirs: example
|
hs-source-dirs: example
|
||||||
ghc-options:
|
ghc-options: -fplugin=StackTrace.Plugin
|
||||||
-fplugin=StackTrace.Plugin
|
build-depends: haskell-stack-trace-plugin
|
||||||
build-depends:
|
|
||||||
haskell-stack-trace-plugin
|
|
||||||
|
Loading…
Reference in New Issue
Block a user