Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ dependencies:
- transformers
- unliftio-core

flags:
smp:
description: Use flags that depend on GHC supporting a multicore runtime (tests only)
default: True
manual: True

library:
source-dirs: src
when:
Expand All @@ -32,10 +38,16 @@ tests:
typed-process-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
when:
- condition: flag(smp)
then:
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
else:
ghc-options:
- -threaded
dependencies:
- base64-bytestring
- hspec
Expand Down