packages feed

tmp-proc-redis-0.5.0.0: tmp-proc-redis.cabal

cabal-version:      3.0
name:               tmp-proc-redis
version:            0.5.0.0
synopsis:           Shows how to run redis as a tmp proc
description:
  An example of using tmp-proc to launch dockerized redis in integration tests.

license:            BSD-3-Clause
license-file:       LICENSE
copyright:          2021 Tim Emiola
author:             Tim Emiola
maintainer:         adetokunbo@users.noreply.github.com
category:           testing, docker
bug-reports:        https://github.com/adetokunbo/tmp-proc/issues
build-type:         Simple
extra-source-files:
  ChangeLog.md
  README.md
tested-with:
  GHC == 8.10.5

source-repository head
  type:     git
  location: https://github.com/adetokunbo/tmp-proc.git

library
  exposed-modules:  System.TmpProc.Docker.Redis
  hs-source-dirs:   src
  build-depends:
    , base        >=4.11     && <4.16
    , bytestring  >=0.10.8.2 && <0.12
    , hedis       >=0.10.4   && <0.15
    , text        ^>=1.2.3
    , tmp-proc    >=0.5.0.0  && <0.6.0.0

  default-language: Haskell2010
  ghc-options:      -fno-ignore-asserts -Wall

test-suite integration-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  other-modules:    Test.TmpProc.Docker.RedisSpec
  hs-source-dirs:   test
  build-depends:
    , base
    , bytestring
    , hedis
    , hspec
    , hspec-tmp-proc
    , text
    , tmp-proc
    , tmp-proc-redis

  default-language: Haskell2010
  ghc-options:
    -threaded -rtsopts -with-rtsopts=-N -fno-ignore-asserts -Wall