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