sandwich/sandwich-contexts/package.yaml
2024-06-11 12:28:34 -07:00

88 lines
1.6 KiB
YAML

name: sandwich-contexts
version: 0.1.0.0
synopsis: Sandwich test contexts
description: Please see README.md
author: Tom McLaughlin
maintainer: tom@codedown.io
copyright: 2023 Tom McLaughlin
dependencies:
- base
- sandwich
- unliftio
default-extensions:
- OverloadedStrings
- QuasiQuotes
- NamedFieldPuns
- RecordWildCards
- ScopedTypeVariables
- LambdaCase
- MultiWayIf
- ViewPatterns
- TupleSections
- FlexibleContexts
- NoImplicitPrelude
- NumericUnderscores
ghc-options:
- -Wunused-packages # For GHC 8.10.1 and above
- -Wall
# - -Wpartial-fields
# - -Wredundant-constraints # Reports HasCallStack, so keep it off normally
library:
source-dirs: lib
exposed-modules:
- Test.Sandwich.Contexts.Container
- Test.Sandwich.Contexts.FakeSmtpServer
- Test.Sandwich.Contexts.Files
- Test.Sandwich.Contexts.Nix
- Test.Sandwich.Contexts.PostgreSQL
- Test.Sandwich.Contexts.Waits
- Test.Sandwich.Contexts.Types.Network
- Test.Sandwich.Contexts.Types.S3
- Test.Sandwich.Contexts.Util.Ports
dependencies:
- aeson
- conduit
- conduit-extra
- containers
- crypton-connection
- exceptions
- filepath
- http-client
- http-conduit
- http-types
- HTTP
- monad-logger
- mtl
- network
- process
- random
- relude
- retry
- safe
- streaming-commons
- string-interpolate
- temporary
- text
- time
- unix
- unliftio-core
- vector
tests:
tests:
main: Main.hs
source-dirs: test
ghc-options:
- -Wall
- -rtsopts
- -threaded
dependencies:
- filepath
- postgresql-simple
- relude
- sandwich-contexts
- string-interpolate