;pkg: clean up other cabal files, separating unrelated ghc options
This commit is contained in:
parent
a953120fbf
commit
41e5a538b1
@ -120,7 +120,7 @@ executable hledger-ui
|
||||
Paths_hledger_ui
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -with-rtsopts=-T
|
||||
cpp-options: -DVERSION="1.41.99"
|
||||
build-depends:
|
||||
base >=4.14 && <4.21
|
||||
@ -129,4 +129,4 @@ executable hledger-ui
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
if flag(threaded)
|
||||
ghc-options: -threaded -with-rtsopts=-T
|
||||
ghc-options: -threaded
|
||||
|
||||
@ -134,6 +134,7 @@ executables:
|
||||
dependencies:
|
||||
- base >=4.14 && <4.21
|
||||
- hledger-ui
|
||||
ghc-options: -with-rtsopts=-T # for stats command
|
||||
when:
|
||||
- condition: flag(threaded)
|
||||
ghc-options: -threaded -with-rtsopts=-T
|
||||
ghc-options: -threaded
|
||||
|
||||
@ -201,7 +201,7 @@ executable hledger
|
||||
Paths_hledger
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path
|
||||
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind -optP-Wno-nonportable-include-path -with-rtsopts=-T
|
||||
cpp-options: -DVERSION="1.41.99"
|
||||
build-depends:
|
||||
Decimal >=0.5.1
|
||||
@ -244,7 +244,7 @@ executable hledger
|
||||
if (flag(debug))
|
||||
cpp-options: -DDEBUG
|
||||
if flag(threaded)
|
||||
ghc-options: -threaded -with-rtsopts=-T
|
||||
ghc-options: -threaded
|
||||
|
||||
test-suite unittest
|
||||
type: exitcode-stdio-1.0
|
||||
|
||||
@ -217,9 +217,10 @@ executables:
|
||||
source-dirs: app
|
||||
main: hledger-cli.hs
|
||||
cpp-options: -DVERSION="1.41.99"
|
||||
ghc-options: -with-rtsopts=-T # for stats command
|
||||
when:
|
||||
- condition: flag(threaded)
|
||||
ghc-options: -threaded -with-rtsopts=-T
|
||||
ghc-options: -threaded
|
||||
dependencies:
|
||||
- hledger
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user