-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzzbot.cabal
89 lines (86 loc) · 2.75 KB
/
zzbot.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
89
cabal-version: 2.4
name: zzbot
version: 0.1.0.0
homepage: https://github.com/githubuser/zzbot#readme
license: Apache-2.0
license-file: LICENSE
author: The zzbot authors
category: Tools
build-type: Simple
extra-source-files: README.md
-- FIXME: these files are only required by tests but data-files will include
-- them in the executable as well. See https://stackoverflow.com/q/51225261.
data-files: configs/*.xml,
configs/tests/*.xml,
configs/examples/*.xml
library
exposed-modules: Common,
Config
Db,
Exec,
LowLevelDb,
Web,
Xml
other-modules:
hs-source-dirs: src, web
default-language: Haskell2010
build-depends: base >= 4.7 && < 5,
aeson,
blaze-html,
bytestring,
concurrent-extra,
containers,
either,
extra,
filepath,
megaparsec,
mtl,
prettyprinter,
prettyprinter-ansi-terminal,
process,
safe,
scotty,
sqlite-simple,
text,
time,
validation,
xml
executable zzbot
main-is: Main.hs
hs-source-dirs: app
ghc-options: -Wincomplete-patterns -Werror
default-language: Haskell2010
build-depends: async,
base >=4.7 && <5,
containers,
directory,
extra,
mtl,
optparse-applicative,
validation,
zzbot
test-suite spec
type: exitcode-stdio-1.0
main-is: Tests.hs
other-modules: ConfigSpec,
ExecSpec,
RandomConfigs,
XmlSpec,
ZZBotSpec,
Paths_zzbot
autogen-modules: Paths_zzbot
default-language: Haskell2010
hs-source-dirs: test
build-depends: base >= 4.7 && < 5,
containers,
generic-random,
hspec,
lens,
mtl,
prettyprinter-ansi-terminal,
process,
QuickCheck,
temporary,
validation,
zzbot
build-tool-depends: zzbot:zzbot