fix:web: -threaded is needed in test suite now also
This commit is contained in:
parent
c23087f124
commit
efa101091c
@ -208,6 +208,8 @@ library
|
|||||||
, yesod-static >=1.4 && <1.7
|
, yesod-static >=1.4 && <1.7
|
||||||
, yesod-test
|
, yesod-test
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
if flag(threaded)
|
||||||
|
ghc-options: -threaded -with-rtsopts=-T
|
||||||
if (flag(dev)) || (flag(library-only))
|
if (flag(dev)) || (flag(library-only))
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
if flag(dev)
|
if flag(dev)
|
||||||
@ -228,6 +230,8 @@ executable hledger-web
|
|||||||
, base-compat >=0.14.0
|
, base-compat >=0.14.0
|
||||||
, hledger-web
|
, hledger-web
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
if flag(threaded)
|
||||||
|
ghc-options: -threaded -with-rtsopts=-T
|
||||||
if (flag(dev)) || (flag(library-only))
|
if (flag(dev)) || (flag(library-only))
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
if flag(dev)
|
if flag(dev)
|
||||||
@ -236,8 +240,6 @@ executable hledger-web
|
|||||||
cpp-options: -DDEBUG
|
cpp-options: -DDEBUG
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
buildable: False
|
buildable: False
|
||||||
if flag(threaded)
|
|
||||||
ghc-options: -threaded -with-rtsopts=-T
|
|
||||||
|
|
||||||
test-suite test
|
test-suite test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
@ -251,6 +253,8 @@ test-suite test
|
|||||||
, base-compat >=0.14.0
|
, base-compat >=0.14.0
|
||||||
, hledger-web
|
, hledger-web
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
if flag(threaded)
|
||||||
|
ghc-options: -threaded -with-rtsopts=-T
|
||||||
if (flag(dev)) || (flag(library-only))
|
if (flag(dev)) || (flag(library-only))
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
if flag(dev)
|
if flag(dev)
|
||||||
|
|||||||
@ -78,6 +78,8 @@ ghc-options:
|
|||||||
- -Wincomplete-uni-patterns
|
- -Wincomplete-uni-patterns
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
- condition: flag(threaded)
|
||||||
|
ghc-options: -threaded -with-rtsopts=-T
|
||||||
- condition: (flag(dev)) || (flag(library-only))
|
- condition: (flag(dev)) || (flag(library-only))
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
# This causes a warning when uploading to hackage:
|
# This causes a warning when uploading to hackage:
|
||||||
@ -165,8 +167,6 @@ executables:
|
|||||||
when:
|
when:
|
||||||
- condition: flag(library-only)
|
- condition: flag(library-only)
|
||||||
buildable: false
|
buildable: false
|
||||||
- condition: flag(threaded)
|
|
||||||
ghc-options: -threaded -with-rtsopts=-T
|
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
test:
|
test:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user