-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathhaskell-starter.cabal
61 lines (56 loc) · 1.83 KB
/
haskell-starter.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: haskell-starter
version: 0.1.0.0
synopsis: A demo for getting a project started in Haskell/Cabal.
description: This project is probably more for learning Cabal right now, but I hope to extend it to Haskell in the future.
homepage: https://github.com/joshcough/HaskellStarter
license: MIT
license-file: LICENSE
author: Josh Cough
maintainer: [email protected]
category: Demo
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/joshcough/HaskellStarter.git
-- configuration for building a library
library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules:
HaskellStarter.CommitPrinter
other-modules:
HaskellStarter.Util
build-depends:
base >= 4.6 && < 5,
github >= 0.7.4 && < 0.12
-- configuration for an executable
executable githubCommitPrinter
default-language: Haskell2010
hs-source-dirs: executables
main-is: Main.hs
build-depends:
base >= 4.6 && < 5,
haskell-starter
-- configuration for Unit tests and properties
test-suite unit-tests-and-properties
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends:
base >= 4.6 && < 5,
HUnit >= 1.2 && < 1.4,
QuickCheck >= 2.4 && < 2.8,
test-framework >= 0.6 && < 0.9,
test-framework-hunit >= 0.3 && < 0.5,
test-framework-quickcheck2 >= 0.2 && < 0.4,
test-framework-th >= 0.2 && < 0.4
-- doctests
test-suite doctest
type: exitcode-stdio-1.0
main-is: DocTest.hs
hs-source-dirs: test
build-depends:
base >= 4.6 && < 5,
doctest >= 0.9 && < 0.11,
Glob >= 0.7 && < 0.9