;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
|
Paths_hledger_ui
|
||||||
hs-source-dirs:
|
hs-source-dirs:
|
||||||
app
|
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"
|
cpp-options: -DVERSION="1.41.99"
|
||||||
build-depends:
|
build-depends:
|
||||||
base >=4.14 && <4.21
|
base >=4.14 && <4.21
|
||||||
@ -129,4 +129,4 @@ executable hledger-ui
|
|||||||
if (flag(debug))
|
if (flag(debug))
|
||||||
cpp-options: -DDEBUG
|
cpp-options: -DDEBUG
|
||||||
if flag(threaded)
|
if flag(threaded)
|
||||||
ghc-options: -threaded -with-rtsopts=-T
|
ghc-options: -threaded
|
||||||
|
|||||||
@ -134,6 +134,7 @@ executables:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- base >=4.14 && <4.21
|
- base >=4.14 && <4.21
|
||||||
- hledger-ui
|
- hledger-ui
|
||||||
|
ghc-options: -with-rtsopts=-T # for stats command
|
||||||
when:
|
when:
|
||||||
- condition: flag(threaded)
|
- condition: flag(threaded)
|
||||||
ghc-options: -threaded -with-rtsopts=-T
|
ghc-options: -threaded
|
||||||
|
|||||||
@ -201,7 +201,7 @@ executable hledger
|
|||||||
Paths_hledger
|
Paths_hledger
|
||||||
hs-source-dirs:
|
hs-source-dirs:
|
||||||
app
|
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"
|
cpp-options: -DVERSION="1.41.99"
|
||||||
build-depends:
|
build-depends:
|
||||||
Decimal >=0.5.1
|
Decimal >=0.5.1
|
||||||
@ -244,7 +244,7 @@ executable hledger
|
|||||||
if (flag(debug))
|
if (flag(debug))
|
||||||
cpp-options: -DDEBUG
|
cpp-options: -DDEBUG
|
||||||
if flag(threaded)
|
if flag(threaded)
|
||||||
ghc-options: -threaded -with-rtsopts=-T
|
ghc-options: -threaded
|
||||||
|
|
||||||
test-suite unittest
|
test-suite unittest
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
|
|||||||
@ -217,9 +217,10 @@ executables:
|
|||||||
source-dirs: app
|
source-dirs: app
|
||||||
main: hledger-cli.hs
|
main: hledger-cli.hs
|
||||||
cpp-options: -DVERSION="1.41.99"
|
cpp-options: -DVERSION="1.41.99"
|
||||||
|
ghc-options: -with-rtsopts=-T # for stats command
|
||||||
when:
|
when:
|
||||||
- condition: flag(threaded)
|
- condition: flag(threaded)
|
||||||
ghc-options: -threaded -with-rtsopts=-T
|
ghc-options: -threaded
|
||||||
dependencies:
|
dependencies:
|
||||||
- hledger
|
- hledger
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user