packages feed

tmp-proc-redis-0.7.2.5: tmp-proc-redis.cabal

cabal-version:      3.0
name:               tmp-proc-redis
version:            0.7.2.5
synopsis:           Launch Redis in docker using tmp-proc
description:
  Demos how to use tmp-proc to run Redis in docker in a unittest.

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.7 || ==9.0.2 || ==9.2.8 || ==9.4.5

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

library
  exposed-modules:  System.TmpProc.Docker.Redis
  other-modules:    Database.Redis.CPP
  hs-source-dirs:   src
  build-depends:
    , base        >=4.11     && <5
    , bytestring  >=0.10.8   && <0.11 || >=0.11.3 && <0.13
    , hedis       >=0.12  && <0.18
    , text        >=1.2.3 && <2.2
    , tmp-proc    >=0.5.3  && <0.8

  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