packages feed

hspec-dirstream-0.1.0.0: hspec-dirstream.cabal

name:                hspec-dirstream
version:             0.1.0.0
synopsis:            Helper functions to simplify adding integration tests.
description:         This package uses
                     [hspec](https://hackage.haskell.org/package/hspec) and
                     [dirstream](https://hackage.haskell.org/package/dirstream)
                     to provide easy-to-use functions designed for use in
                     integration tests.
homepage:            https://hub.darcs.net/vmchale/hspec-dirstream
license:             BSD3
license-file:        LICENSE
author:              Vanessa McHale
maintainer:          vamchale@gmail.com
copyright:           Copyright: (c) 2018 Vanessa McHale
category:            Testing, Development
build-type:          Simple
extra-doc-files:     README.md
data-files:          test/data/*.hs
                   , test/data/*.out
extra-source-files:  stack.yaml
                   , cabal.project.local
cabal-version:       >=1.18

Flag development {
  Description: Enable `-Werror`
  manual: True
  default: False
}

library
  hs-source-dirs:      src
  exposed-modules:     Test.Hspec.Dirstream
  build-depends:       base >= 4.7 && < 5
                     , hspec
                     , dirstream
                     , pipes
                     , pipes-safe
                     , filepath
                     , hspec-core
                     , system-filepath
                     , text
  default-language:    Haskell2010
  if flag(development)
    ghc-options:       -Werror
  if impl(ghc >= 8.0)
    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat
  ghc-options:         -Wall

test-suite hspec-dirstream-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , hspec-dirstream
                     , hspec
  if flag(development)
    if impl(ghc >= 8.0)
      ghc-options:       -Werror
  if impl(ghc >= 8.0)
    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  default-language:    Haskell2010

source-repository head
  type:     darcs
  location: https://hub.darcs.net/vmchale/hspec-dirstream