Test Suite in Cabal (cabal test)

Please run using "cabal test --show-details=streaming", there's a known
issue about this that was fixed in the latest version of cabal:
https://github.com/haskell/cabal/issues/1810
This commit is contained in:
Rodrigo Setti 2014-05-31 01:30:23 +00:00
parent 3fcc6c44d8
commit 0a9ed917e7
8 changed files with 141 additions and 192 deletions

View file

@ -35,7 +35,8 @@ library
json,
mtl,
parsec,
regex-compat
regex-compat,
QuickCheck >= 2.2
exposed-modules:
ShellCheck.Analytics
ShellCheck.AST
@ -54,6 +55,21 @@ executable shellcheck
json,
mtl,
parsec,
regex-compat
regex-compat,
QuickCheck >= 2.2
main-is: shellcheck.hs
test-suite test-shellcheck
type: exitcode-stdio-1.0
build-depends:
ShellCheck,
base >= 4 && < 5,
containers,
directory,
json,
mtl,
parsec,
regex-compat,
QuickCheck >= 2.2
main-is: test/shellcheck.hs