packages feed

hcltest-0.1: hcltest.cabal

name:          hcltest
version:       0.1
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Benno Fünfstück
maintainer:    Benno Fünfstück <benno.fuenfstueck@gmail.com>
stability:     experimental
homepage:      http://github.com/bennofs/hcltest/
bug-reports:   http://github.com/bennofs/hcltest/issues
copyright:     Copyright (C) 2013 Benno Fünfstück
synopsis:      A testing library for command line applications.
description:   Allows to write tests for command line applications using haskell.
category:      Testing   
build-type:    Custom

extra-source-files:
  .ghci
  .gitignore
  .travis.yml
  .vim.custom
  README.md

source-repository head
  type: git
  location: git://github.com/bennofs/hcltest.git

library
  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -Wall
  build-depends:
      base >= 4.4 && < 5
    , bytestring
    , text
    , free
    , process
    , filepath
    , transformers >= 0.1.3.0
    , either
    , directory
    , dlist
    , temporary
    , mtl
    , lens
    , tasty
    , tagged
    , mmorph
    , random-shuffle
    , split
    , stm
    , optparse-applicative
    , monad-control
    , lifted-base
    , transformers-base
    , concurrent-extra
  exposed-modules:
      Test.HClTest
      Test.HClTest.Program
      Test.HClTest.Monad
      Test.HClTest.Setup
      Test.HClTest.Trace
      Test.Tasty.HClTest

test-suite doctests
  type:    exitcode-stdio-1.0
  main-is: doctests.hs
  default-language: Haskell2010
  build-depends:
      base
    , directory >= 1.0
    , doctest >= 0.9.1
    , filepath
  ghc-options: -Wall -threaded
  if impl(ghc<7.6.1)
    ghc-options: -Werror
  hs-source-dirs: tests