cabal: update cabal files
This commit is contained in:
parent
7325b75d5b
commit
5bf48d721a
@ -45,7 +45,7 @@ source-repository head
|
||||
type: git
|
||||
location: https://github.com/simonmichael/hledger
|
||||
|
||||
flag ghcdebug
|
||||
flag debug
|
||||
description: Build with support for attaching a ghc-debug client
|
||||
manual: True
|
||||
default: False
|
||||
@ -170,8 +170,8 @@ library
|
||||
if (!(os(windows)))
|
||||
build-depends:
|
||||
pager >=0.1.1.0
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
@ -235,8 +235,8 @@ test-suite doctest
|
||||
if (!(os(windows)))
|
||||
build-depends:
|
||||
pager >=0.1.1.0
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
if impl(ghc >= 9.0) && impl(ghc < 9.2)
|
||||
@ -303,7 +303,7 @@ test-suite unittest
|
||||
if (!(os(windows)))
|
||||
build-depends:
|
||||
pager >=0.1.1.0
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
@ -39,7 +39,7 @@ source-repository head
|
||||
type: git
|
||||
location: https://github.com/simonmichael/hledger
|
||||
|
||||
flag ghcdebug
|
||||
flag debug
|
||||
description: Build with support for attaching a ghc-debug client
|
||||
manual: True
|
||||
default: False
|
||||
@ -105,8 +105,8 @@ library
|
||||
, vty >=6.1 && <6.3
|
||||
, vty-crossplatform >=0.4.0.0 && <0.5.0.0
|
||||
default-language: Haskell2010
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
if os(windows)
|
||||
@ -128,8 +128,8 @@ executable hledger-ui
|
||||
base >=4.14 && <4.21
|
||||
, hledger-ui
|
||||
default-language: Haskell2010
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
if flag(threaded)
|
||||
|
||||
@ -112,16 +112,16 @@ source-repository head
|
||||
type: git
|
||||
location: https://github.com/simonmichael/hledger
|
||||
|
||||
flag debug
|
||||
description: Build with support for attaching a ghc-debug client
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
flag dev
|
||||
description: Turn on development settings, like auto-reload templates.
|
||||
manual: False
|
||||
default: False
|
||||
|
||||
flag ghcdebug
|
||||
description: Build with support for attaching a ghc-debug client
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
flag library-only
|
||||
description: Build for use with "yesod devel"
|
||||
manual: False
|
||||
@ -212,8 +212,8 @@ library
|
||||
cpp-options: -DDEVELOPMENT
|
||||
if flag(dev)
|
||||
ghc-options: -O0
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
@ -234,8 +234,8 @@ executable hledger-web
|
||||
cpp-options: -DDEVELOPMENT
|
||||
if flag(dev)
|
||||
ghc-options: -O0
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
if flag(library-only)
|
||||
@ -259,7 +259,7 @@ test-suite test
|
||||
cpp-options: -DDEVELOPMENT
|
||||
if flag(dev)
|
||||
ghc-options: -O0
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
@ -92,8 +92,8 @@ source-repository head
|
||||
type: git
|
||||
location: https://github.com/simonmichael/hledger
|
||||
|
||||
flag ghcdebug
|
||||
description: Build with support for attaching a ghc-debug client
|
||||
flag debug
|
||||
description: Build with GHC 9.10+'s stack traces enabled, and with support for attaching a ghc-debug client
|
||||
manual: True
|
||||
default: False
|
||||
|
||||
@ -196,8 +196,8 @@ library
|
||||
if (!(os(windows))) && (flag(terminfo))
|
||||
build-depends:
|
||||
terminfo
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
@ -250,8 +250,8 @@ executable hledger
|
||||
if (!(os(windows))) && (flag(terminfo))
|
||||
build-depends:
|
||||
terminfo
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
if flag(threaded)
|
||||
@ -305,8 +305,8 @@ test-suite unittest
|
||||
if (!(os(windows))) && (flag(terminfo))
|
||||
build-depends:
|
||||
terminfo
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
@ -360,7 +360,7 @@ benchmark bench
|
||||
if (!(os(windows))) && (flag(terminfo))
|
||||
build-depends:
|
||||
terminfo
|
||||
if (flag(ghcdebug))
|
||||
cpp-options: -DGHCDEBUG
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
build-depends:
|
||||
ghc-debug-stub >=0.6.0.0 && <0.7
|
||||
|
||||
Loading…
Reference in New Issue
Block a user