-
Notifications
You must be signed in to change notification settings - Fork 0
/
subtube.cabal
217 lines (205 loc) · 4.45 KB
/
subtube.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
cabal-version: 2.4
name: subtube
version: 0
license: BSD-3-Clause
build-type: Simple
license-file: LICENSE
author: weiss
maintainer: weiss <[email protected]>
copyright: 2024 weiss
tested-with: GHC ==9.4.8
extra-doc-files:
CHANGELOG.md
README.md
-- category:
-- description: description
-- synopsis: one-line synopsis
-- homepage: https://github.com/FIXME/subtube#readme
-- source-repository head
-- type: git
-- location: git://github.com/FIXME/subtube.git
common common-options
build-depends: base
default-language: Haskell2010
default-extensions:
ApplicativeDo
BangPatterns
BlockArguments
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
DisambiguateRecordFields
DuplicateRecordFields
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTSyntax
GeneralisedNewtypeDeriving
ImportQualifiedPost
KindSignatures
LambdaCase
MonadComprehensions
MultiParamTypeClasses
MultiWayIf
NoImplicitPrelude
NoStarIsType
NumericUnderscores
OverloadedStrings
PolyKinds
PostfixOperators
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
StrictData
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-fhide-source-paths -Wpartial-fields
library
import: common-options
hs-source-dirs: src
build-depends:
, aeson
, bytestring
, containers
, contravariant
, data-default
, exceptions
, hasql >=1.6.4.0
, hasql-transaction
, http-api-data
, http-client
, js-jquery
, lens
, mtl
, random
, rel8 >=1.5.0
, rio
, semigroupoids
, servant-docs
, servant-js
, servant-server
, servant-swagger
, servant-swagger-ui
, static-text
, swagger2
, transformers
, unix-time
, uuid
, validity
, validity-text
, validity-uuid
, wai
, warp
, wreq
exposed-modules:
Api
Api.Docs
Api.Tag
Api.Utils
Api.Youtube
Db
Db.Command
Db.Queries
Invidious.Client
Invidious.Parser
MyPrelude
Repl
Types
Types.AggMedia
Types.Cached
Types.Env
Types.General
Types.Media
Types.Schemas
Types.SessionPool
Types.TagMember
Types.Utils
Types.Youtube
-- executable subtube-exe
-- import: common-options
-- hs-source-dirs: app
-- main-is: Main.hs
-- build-depends: subtube
-- ghc-options: -threaded -rtsopts -with-rtsopts=-N
executable subtube-api-server
import: common-options
hs-source-dirs: api
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
, aeson
, rio
, servant-docs
, servant-js
, servant-server
, servant-swagger
, servant-swagger-ui
, subtube
, swagger2
, unix-time
, wai >=3.2.3
, warp >=3.3.25
test-suite subtube-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Gen.GenIns
Gen.GenSpec
Gen.Spec
Psql.PsqlSpec
Psql.Spec
TestEnv
build-depends:
, genvalidity
, genvalidity-aeson
, genvalidity-containers
, genvalidity-sydtest
, genvalidity-text
, genvalidity-uuid
, hasql >=1.6.4.0
, hasql-transaction
, QuickCheck
, quickcheck-text
, rel8 >=1.5.0
, rio
, static-text
, subtube
, sydtest
, unliftio
, uuid
build-tool-depends: sydtest-discover:sydtest-discover >=0.0.0.3
ghc-options: -threaded -rtsopts -with-rtsopts=-N
benchmark subtube-bench
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
build-depends:
, criterion
, subtube
ghc-options: -threaded -rtsopts -with-rtsopts=-N