/
chorebot.cabal
88 lines (81 loc) · 3.1 KB
/
chorebot.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: chorebot
version: 0.1.0.0
synopsis: A bot to distribute chores.
license: GPL-2
license-file: LICENSE
author: Michael Hoy
maintainer: mjh@mjhoy.com
category: Shared living
build-type: Simple
cabal-version: >=1.10
data-dir: spec/fixtures
data-files: doers.txt, chores.txt, assignment-history.txt
-- while it makes more sense to break out a chorebot library, and add
-- it as a dependency for both an executable and a test-suite, this
-- seems to cause trouble with building a static binary which for now
-- is a requirement. this means build-depends must be duplicated
-- between the executable and the test-suite.
executable chorebot
main-is: Main.hs
hs-source-dirs: src
other-modules: Chorebot.Assignment
, Chorebot.Assignment.Parser
, Chorebot.Chore
, Chorebot.Chore.Parser
, Chorebot.Distributor
, Chorebot.Doer
, Chorebot.Doer.Parser
, Chorebot.ParserHelper
, Chorebot.Profile
, Chorebot.Time
, Chorebot.Tribunal
-- other-extensions:
build-depends: base >=4.7 && <4.10
-- chorebot dependencies
, parsec >=3.1.9 && <3.2
, directory
, time
, extra
, containers
, regex-compat
, random
, optparse-applicative
, MonadRandom
, mtl
default-language: Haskell2010
test-suite spec
main-is: Spec.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: spec, src
other-modules: Paths_chorebot
, Chorebot.Assignment
, Chorebot.Assignment.Parser
, Chorebot.Chore
, Chorebot.Chore.Parser
, Chorebot.Distributor
, Chorebot.Doer
, Chorebot.Doer.Parser
, Chorebot.ParserHelper
, Chorebot.Profile
, Chorebot.Time
, Chorebot.Tribunal
, Chorebot.DistributorSpec
, Chorebot.Doer.ParserSpec
, Chorebot.ProfileSpec
, Chorebot.TimeSpec
, SpecHelper
build-depends: base >=4.7 && <4.10
-- test dependencies
, hspec
-- chorebot dependencies
, parsec >=3.1.9 && <3.2
, directory
, time
, extra
, containers
, regex-compat
, random
, optparse-applicative
, MonadRandom
, mtl