Cabal configure to run tests

engine-govind^2
Govind Krishna Joshi 2015-07-11 12:08:24 +05:30
parent e530f3aa68
commit fc3df3a86d
2 changed files with 20 additions and 0 deletions

8
.gitignore vendored
View File

@ -15,3 +15,11 @@ cabal.sandbox.config
*.prof
*.aux
*.hp
# Vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

View File

@ -25,3 +25,15 @@ executable hastron
hashable >=1.2 && <1.3
hs-source-dirs: src
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: tests
main-is: TestMain.hs
build-depends:
base >=4.7 && <4.9,
tasty >=0.10 && <0.11,
tasty-hunit >=0.9 && <0.10,
tasty-quickcheck >=0.8 && <0.9