name:                test-lib
version:             0.4
synopsis:            A library to make a quick test-runner script.
description:         This library makes it easy to define an executable,
                     which can find and run a bunch of tests for a binary.
license:             ISC
license-file:        LICENSE
author:              Iavor Diatchki
maintainer:          iavor.diatchki@gmail.com
category:            Testing
build-type:          Simple
extra-source-files:  CHANGELOG.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     TestLib
  other-modules:       Paths_test_lib
  build-depends:       base                  >=4.9 && <4.16,
                       directory             >=1.3 && <1.4,
                       filepath              >=1.4 && <1.5,
                       process               >=1.4 && <1.7,
                       containers            >=0.5 && <0.7,
                       HUnit                 >= 1.3.0 && < 1.7,
                       simple-get-opt        >= 0.2.0 && < 0.5,
                       test-framework        >= 0.8.0 && < 0.9,
                       test-framework-hunit  >= 0.3.0 && < 0.4


  ghc-options:         -Wall
  default-language:    Haskell2010

executable test-runner
  hs-source-dirs:      exe
  main-is:             Main.hs
  build-depends:       base, simple-get-opt, test-lib
  ghc-options:         -Wall
  default-language:    Haskell2010