packages feed

cabal-test-bin-0.1.4: cabal-test-bin.cabal

name:                cabal-test-bin
version:             0.1.4
synopsis:            A program for finding temporary build file during cabal-test.
description:         cabal-test-bin finds exe-file for cabal test below
                     .
                     > cabal install --enable-tests --run-tests
                     .
                     > cabal test
                     .
                     When a project uses cabal-sandbox, cabal-test-bin checks following paths.
                     .
                     > <project root>/dist/dist-sandbox-<hash>/build/<exe-file>/<exe-file> 
                     .
                     > <project root>/dist/build/<exe-file>/<exe-file>
                     .
                     
license:             BSD3
license-file:        LICENSE
author:              Junji Hashimoto
maintainer:          junji.hashimoto@gmail.com
-- copyright:           
category:            Testing
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

bug-reports:         https://github.com/junjihashimoto/cabal-test-bin/issues

extra-source-files:
  ChangeLog.md
  README.md

source-repository head
  type:           git
  location:       https://github.com/junjihashimoto/cabal-test-bin.git


Library
  Exposed-modules:   Test.Cabal.Path
  Build-Depends:     base >=4 && <5
                   , directory
                   , filepath
                   , unix
  Default-Language:  Haskell2010
  ghc-options:       -Wall

executable cabal-test-bin
  main-is:           Main.hs
  -- other-modules:       
  -- other-extensions:    
  build-depends:     base >=4 && <5
                   , directory
                   , filepath
                   , unix
                   , cabal-test-bin
  -- hs-source-dirs:      
  ghc-options:       -Wall
  default-language:  Haskell2010

test-suite test
  type:              exitcode-stdio-1.0
  main-is:           test.hs
  hs-source-dirs:    tests,dist/build/autogen
  ghc-options:       -Wall

  build-depends:     base
                   , hspec
                   , cabal-test-bin
                   , regex-posix
                   , process
  Default-Language:   Haskell2010