;cabal: update cabal files
This commit is contained in:
parent
96caa8f352
commit
929f050c43
@ -45,6 +45,11 @@ source-repository head
|
|||||||
type: git
|
type: git
|
||||||
location: https://github.com/simonmichael/hledger
|
location: https://github.com/simonmichael/hledger
|
||||||
|
|
||||||
|
flag ghcdebug
|
||||||
|
description: Build with support for attaching a ghc-debug client
|
||||||
|
manual: True
|
||||||
|
default: False
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Hledger
|
Hledger
|
||||||
@ -156,6 +161,10 @@ library
|
|||||||
if (!(os(windows)))
|
if (!(os(windows)))
|
||||||
build-depends:
|
build-depends:
|
||||||
pager >=0.1.1.0
|
pager >=0.1.1.0
|
||||||
|
if (flag(ghcdebug))
|
||||||
|
cpp-options: -DGHCDEBUG
|
||||||
|
build-depends:
|
||||||
|
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||||
|
|
||||||
test-suite unittest
|
test-suite unittest
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
@ -216,3 +225,7 @@ test-suite unittest
|
|||||||
if (!(os(windows)))
|
if (!(os(windows)))
|
||||||
build-depends:
|
build-depends:
|
||||||
pager >=0.1.1.0
|
pager >=0.1.1.0
|
||||||
|
if (flag(ghcdebug))
|
||||||
|
cpp-options: -DGHCDEBUG
|
||||||
|
build-depends:
|
||||||
|
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user