A program for finding temporary build file during cabal-test.
|Latest on Hackage:||0.1.5|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
cabal-test-bin: A program finding temporal build-binary for cabal-test
cabal-test-bin finds exe-file for cabal test(like following commands)
$ 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>
cabal-test-bin is a program find
Install this from Hackage.
$ cabal update && cabal install cabal-test-bin
Command Line is below.
$ cabal-test-bin 'project-directory' 'program-name(this is just command-name, not path)'
cabal-test-bin generates jenkins hash from cabal-sandbox-dir of current project. Then it finds ‘project-directory’/dist/build/‘program-name’ and ‘project-directory’/dist/dist-sandbox-‘hash’/build/‘program-name’. When both files exits, it chooses newer one.
- Fix test
- Add library and test
- Add README.md, ChangeLog.md and .travis.yml
- Modify cabal-dependency