Rewrite tests in haskell
This commit is contained in:
parent
b28610bb1e
commit
d8b14ca5ee
9 changed files with 530 additions and 255 deletions
39
tests/package.yaml
Normal file
39
tests/package.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
name: jail-nix-tests
|
||||
tests:
|
||||
spec:
|
||||
source-dirs: [spec]
|
||||
main: Spec.hs
|
||||
dependencies:
|
||||
- aeson
|
||||
- base
|
||||
- bytestring
|
||||
- containers
|
||||
- extra
|
||||
- filepath
|
||||
- hspec
|
||||
- hspec-core
|
||||
- interpolate
|
||||
- mtl
|
||||
- process
|
||||
- string-conversions
|
||||
- temporary
|
||||
|
||||
default-extensions:
|
||||
- DerivingStrategies
|
||||
- FlexibleInstances
|
||||
- GeneralizedNewtypeDeriving
|
||||
- ImportQualifiedPost
|
||||
- NamedFieldPuns
|
||||
- QuasiQuotes
|
||||
- ScopedTypeVariables
|
||||
- TupleSections
|
||||
- TypeFamilies
|
||||
|
||||
ghc-options:
|
||||
- -Wall
|
||||
- -Werror
|
||||
- -Wno-name-shadowing
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
- '"-with-rtsopts=-T -N"'
|
||||
- -j
|
||||
Loading…
Add table
Add a link
Reference in a new issue