-
Notifications
You must be signed in to change notification settings - Fork 0
/
isoxya-api.cabal
187 lines (187 loc) · 5.01 KB
/
isoxya-api.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
cabal-version: 3.0
name: isoxya-api
version: 0.0.0
synopsis: Isoxya API
license: BSD-3-Clause
author: Nic Williams <tp@tiredpixel.com>
maintainer: Nic Williams <tp@tiredpixel.com>
--------------------------------------------------------------------------------
common common-properties
build-depends:
base ^>= 4.14.3.0,
relude
mixins:
base hiding (Prelude),
relude (Relude as Prelude)
default-language: Haskell2010
default-extensions:
OverloadedStrings
ghc-options:
-Wall
-Werror
-Wunused-packages
--------------------------------------------------------------------------------
library lib-common
import: common-properties
exposed-modules:
TiredPixel.Common.Cursor
TiredPixel.Common.Isoxya.Processor
TiredPixel.Common.Isoxya.Streamer
TiredPixel.Common.Logger
TiredPixel.Common.Net
TiredPixel.Common.SQLite.Conn
TiredPixel.Common.SQLite.Ext.Hash
TiredPixel.Common.SQLite.Ext.URI
TiredPixel.Common.SQLite.Ext.UUID
TiredPixel.Common.SQLite.Meta
TiredPixel.Common.SQLite.Query
TiredPixel.Common.Snap.CoreUtil
TiredPixel.Common.Snap.Main
TiredPixel.Common.URI
TiredPixel.Common.UUID
build-depends:
aeson,
base64-bytestring,
bytestring,
conduit,
conduit-extra,
cryptonite,
direct-sqlite,
http-conduit,
http-types,
memory,
monad-logger,
network-uri,
regex-compat,
resourcet,
safe,
snap-core,
snap-extras,
snap-server,
sqlite-simple,
time,
unix,
unordered-containers,
uuid,
hs-source-dirs:
lib/common/src
--------------------------------------------------------------------------------
library lib-isoxya-api
import: common-properties
exposed-modules:
Isoxya.API
Isoxya.API.Core
Isoxya.Crawler
Isoxya.DB.Migration
Isoxya.Msg
Isoxya.Processor
Isoxya.Streamer
other-modules:
Isoxya.API.Endpoint.Apex
Isoxya.API.Endpoint.Crawl
Isoxya.API.Endpoint.Processor
Isoxya.API.Endpoint.Site
Isoxya.API.Endpoint.Streamer
Isoxya.API.Find
Isoxya.API.Href
Isoxya.API.Init
Isoxya.API.Resource
Isoxya.API.Type
Isoxya.Crawler.Processor
Isoxya.DB
Isoxya.DB.Query
Isoxya.DB.Type
Isoxya.DB.URLPage
Isoxya.Msg.Query
Isoxya.Msg.Type
Isoxya.Processor.Processor
Isoxya.Streamer.Processor
Paths_isoxya_api
build-depends:
aeson,
base64-bytestring,
bytestring,
case-insensitive,
containers,
cryptonite,
direct-sqlite,
http-conduit,
http-types,
lens,
lens-aeson,
lib-common,
network-uri,
regex-compat,
snap,
snap-core,
snap-extras,
sqlite-simple,
text,
time,
uuid,
hs-source-dirs:
src
--------------------------------------------------------------------------------
executable isoxya-api
import: common-properties
main-is: API.hs
other-modules:
Paths_isoxya_api
build-depends:
lens,
lib-common,
lib-isoxya-api,
snap,
hs-source-dirs:
src/Isoxya/Bin
--------------------------------------------------------------------------------
library lib-common-test
import: common-properties
exposed-modules:
TiredPixel.Common.Snap.Test
other-modules:
TiredPixel.Common.Snap.TestUtil
build-depends:
aeson,
base64-bytestring,
bytestring,
containers,
directory,
filepath,
hspec == 2.*,
hspec-core,
hspec-snap,
http-link-header,
lens,
lens-aeson,
mtl,
network-uri,
process,
snap-core,
text,
unordered-containers,
vector,
hs-source-dirs:
lib/common/test
--------------------------------------------------------------------------------
test-suite test-isoxya-api
import: common-properties
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Isoxya.API.Endpoint.ApexSpec
Isoxya.API.Test
build-depends:
hspec == 2.*,
lib-common,
lib-common-test,
lib-isoxya-api,
snap,
default-extensions:
NoImplicitPrelude
hs-source-dirs:
test
build-tool-depends:
hlint:hlint,
hspec-discover:hspec-discover == 2.*,
stylish-haskell:stylish-haskell,