cabal-test-bin 0.1.2 → 0.1.3
raw patch · 3 files changed
+50/−5 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- ChangeLog.md +4/−0
- README.md +40/−0
- cabal-test-bin.cabal +6/−5
+ ChangeLog.md view
@@ -0,0 +1,4 @@+## 0.1.3++* Add README.md, ChangeLog.md and .travis.yml+* Modify cabal-dependency
+ README.md view
@@ -0,0 +1,40 @@+# cabal-test-bin: A program finding temploray build-binary for cabal-test++[](https://hackage.haskell.org/package/cabal-test-bin) [](https://travis-ci.org/junjihashimoto/cabal-test-bin)+++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 ++## Getting started++Install this from Hackage.++```+$ cabal update && cabal install cabal-test-bin+```++## Usage++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.
cabal-test-bin.cabal view
@@ -1,8 +1,5 @@--- Initial cabal-temp-bin.cabal generated by cabal init. For further --- documentation, see http://haskell.org/cabal/users-guide/- name: cabal-test-bin-version: 0.1.2+version: 0.1.3 synopsis: A program for finding temporary build file during cabal-test. description: cabal-test-bin finds exe-file for cabal test below .@@ -29,6 +26,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@@ -37,7 +38,7 @@ main-is: Main.hs -- other-modules: -- other-extensions: - build-depends: base >=4.7 && <4.8+ build-depends: base >= 4 && < 5 , directory , filepath , unix