-
Notifications
You must be signed in to change notification settings - Fork 0
/
apocrypha.cabal
155 lines (123 loc) · 2.65 KB
/
apocrypha.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
name: apocrypha
version: 0.2.1.0
synopsis: A lightweight, flexible JSON server and client
description: Please see README.md
homepage: https://www.anardil.net
license: MIT
license-file: LICENSE
author: Austin
maintainer: [email protected]
copyright: 2018, Austin
category: Network
build-type: Simple
cabal-version: >=1.10
flag release
description: for installation
default: False
manual: True
executable d
hs-source-dirs: src
main-is: d.hs
default-language: Haskell2010
ghc-options: -Wall
if flag(release)
ghc-options: -O2
else
ghc-options: -O0
build-depends:
base >= 4.7 && < 5,
apocrypha
executable apocrypha-server
hs-source-dirs: src
main-is: server.hs
default-language: Haskell2010
ghc-options: -Wall -threaded
if flag(release)
ghc-options: -O2
else
ghc-options: -O0
if os(mingw32)
ghc-options: -Wno-unused-imports
build-depends:
base >= 4.7 && < 5,
apocrypha,
network,
directory,
text,
unordered-containers,
bytestring,
mtl,
async,
stm
executable bench-apocrypha
hs-source-dirs: src
main-is: benchmark.hs
default-language: Haskell2010
ghc-options: -Wall -threaded
if flag(release)
ghc-options: -O2
else
ghc-options: -O0
build-depends:
base >= 4.7 && < 5,
apocrypha,
containers,
time,
async
library
hs-source-dirs: .
ghc-options: -Wall
if flag(release)
ghc-options: -O2
else
ghc-options: -O0
exposed-modules:
Apocrypha.Client
Apocrypha.Protocol
Apocrypha.Database
Apocrypha.Options
Apocrypha.Internal.Cache
Apocrypha.Internal.Database
Apocrypha.Internal.Options
default-language: Haskell2010
build-depends:
base >= 4.7 && < 5,
aeson,
aeson-pretty,
network,
filelock,
stm,
text,
bytestring,
vector,
unordered-containers,
directory,
binary,
filepath,
split,
zlib
test-suite database
hs-source-dirs: test
main-is: Spec.hs
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends:
base >= 4.7 && < 5,
apocrypha,
hspec,
QuickCheck,
bytestring,
directory,
network,
aeson,
text,
vector,
unordered-containers
other-modules:
ProtocolSpec
OptionsSpec
DatabaseSpec
build-tool-depends: hspec-discover:hspec-discover == 2.*
source-repository head
type: git
location: git://github.com/Gandalf-/Haskell