-
Notifications
You must be signed in to change notification settings - Fork 0
/
isoxya-plugin-crawler-html.cabal
146 lines (146 loc) · 4.27 KB
/
isoxya-plugin-crawler-html.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
cabal-version: 3.0
name: isoxya-plugin-crawler-html
version: 0.0.0
synopsis: Isoxya plugin Crawler HTML
license: BSD-3-Clause
author: Nic Williams <[email protected]>
maintainer: Nic Williams <[email protected]>
--------------------------------------------------------------------------------
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.Isoxya.Processor
TiredPixel.Common.Isoxya.Snap.Processor
TiredPixel.Common.Snap.CoreUtil
TiredPixel.Common.Snap.Main
TiredPixel.Common.URI
other-modules:
TiredPixel.Common.Cursor
build-depends:
aeson,
base64-bytestring,
bytestring,
http-conduit,
network-uri,
regex-compat,
safe,
snap-core,
snap-extras,
snap-server,
time,
unix,
unordered-containers,
hs-source-dirs:
lib/common/src
--------------------------------------------------------------------------------
library lib-isoxya-plugin-crawler-html
import: common-properties
exposed-modules:
Isoxya.Plugin.CrawlerHTML
Isoxya.Plugin.CrawlerHTML.Core
other-modules:
Isoxya.Plugin.CrawlerHTML.Endpoint.Apex
Isoxya.Plugin.CrawlerHTML.Endpoint.Data
Isoxya.Plugin.CrawlerHTML.Init
Isoxya.Plugin.CrawlerHTML.Parser
Isoxya.Plugin.CrawlerHTML.Resource
Isoxya.Plugin.CrawlerHTML.Type
Paths_isoxya_plugin_crawler_html
build-depends:
aeson,
containers,
HandsomeSoup,
hxt,
lens,
lib-common,
network-uri,
snap,
snap-core,
snap-extras,
text,
time,
hs-source-dirs:
src
--------------------------------------------------------------------------------
executable isoxya-plugin-crawler-html
import: common-properties
main-is: CrawlerHTML.hs
other-modules:
Paths_isoxya_plugin_crawler_html
build-depends:
lens,
lib-common,
lib-isoxya-plugin-crawler-html,
snap,
hs-source-dirs:
src/Isoxya/Plugin/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-plugin-crawler-html
import: common-properties
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Isoxya.Plugin.CrawlerHTML.Endpoint.ApexSpec
Isoxya.Plugin.CrawlerHTML.Endpoint.DataSpec
Isoxya.Plugin.CrawlerHTML.ParserSpec
Isoxya.Plugin.CrawlerHTML.Test
build-depends:
containers,
hspec == 2.*,
lib-common,
lib-common-test,
lib-isoxya-plugin-crawler-html,
network-uri,
text,
default-extensions:
NoImplicitPrelude
hs-source-dirs:
test
build-tool-depends:
hlint:hlint,
hspec-discover:hspec-discover == 2.*,
stylish-haskell:stylish-haskell,