forked from haskell/haskell-ide-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
haskell-ide-engine.cabal
324 lines (307 loc) · 11.5 KB
/
haskell-ide-engine.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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
name: haskell-ide-engine
version: 0.12.0.0
synopsis: Provide a common engine to power any Haskell IDE
description: Please see README.md
homepage: http://github.com/githubuser/haskell-ide-engine#readme
license: BSD3
license-file: LICENSE
author: Many, TBD when we release
maintainer: [email protected] (for now)
copyright: 2015 - 2019, TBD
category: Web
build-type: Simple
-- cabal-helper for cabal 2.2/GHC 8.4 needs a cabal version >= 2
cabal-version: >=2.0
flag pedantic
Description: Enable -Werror
Default: False
library
hs-source-dirs: src
exposed-modules: Haskell.Ide.Engine.Channel
Haskell.Ide.Engine.LSP.CodeActions
Haskell.Ide.Engine.LSP.Completions
Haskell.Ide.Engine.Plugin.Base
Haskell.Ide.Engine.LSP.Reactor
Haskell.Ide.Engine.Options
Haskell.Ide.Engine.Plugin.ApplyRefact
Haskell.Ide.Engine.Plugin.Brittany
Haskell.Ide.Engine.Plugin.Build
Haskell.Ide.Engine.Plugin.Example2
Haskell.Ide.Engine.Plugin.Floskell
Haskell.Ide.Engine.Plugin.GhcMod
Haskell.Ide.Engine.Plugin.HaRe
Haskell.Ide.Engine.Plugin.Haddock
Haskell.Ide.Engine.Plugin.HfaAlign
Haskell.Ide.Engine.Plugin.Hoogle
Haskell.Ide.Engine.Plugin.HsImport
Haskell.Ide.Engine.Plugin.Liquid
Haskell.Ide.Engine.Plugin.Package
Haskell.Ide.Engine.Plugin.Package.Compat
Haskell.Ide.Engine.Plugin.Pragmas
Haskell.Ide.Engine.Scheduler
Haskell.Ide.Engine.Support.Fuzzy
Haskell.Ide.Engine.Support.HieExtras
Haskell.Ide.Engine.Transport.JsonStdio
Haskell.Ide.Engine.Transport.LspStdio
Haskell.Ide.Engine.Types
other-modules: Paths_haskell_ide_engine
build-depends: Cabal >= 1.22
, Diff
, HaRe
, aeson
, apply-refact
, async
, base >= 4.9 && < 5
, brittany
, bytestring
, Cabal
, cabal-helper >= 0.8.0.4
, containers
, data-default
, directory
, filepath
, floskell == 0.10.*
, fold-debounce
, ghc >= 8.0.1
, ghc-exactprint
, ghc-mod >= 5.9.0.0
, ghc-mod-core >= 5.9.0.0
, gitrev >= 1.1
, haddock-api
, haddock-library
, haskell-lsp == 0.15.*
, haskell-lsp-types == 0.15.*
, haskell-src-exts
, hie-plugin-api
, hoogle >= 5.0.13
, hsimport
, hslogger
, lifted-async
, lens >= 4.15.2
, monad-control
, monoid-subclasses > 0.4
, mtl
, optparse-simple >= 0.0.3
, parsec
, process
, rope-utf16-splay >= 0.3.1.0
, safe
, sorted-list >= 0.2.1.0
, stm
, tagsoup
, text
, transformers
, unix-time >= 0.4.7
, unordered-containers
, vector
, versions
, yaml >= 0.8.31
if impl(ghc < 8.4)
build-depends: hlint >= 2.0.11 && < 2.1.18
else
build-depends: hlint >= 2.2.2
ghc-options: -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
executable hie
hs-source-dirs: app
main-is: MainHie.hs
other-modules: Paths_haskell_ide_engine
build-depends: base
, directory
, haskell-ide-engine
, haskell-lsp
, hie-plugin-api
, hslogger
, optparse-simple
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
-with-rtsopts=-T
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
executable hie-wrapper
hs-source-dirs: app
main-is: HieWrapper.hs
other-modules: Paths_haskell_ide_engine
build-depends: base
, directory
, ghc-mod-core
, haskell-ide-engine
, haskell-lsp
, hie-plugin-api
, hslogger
, optparse-simple
, process
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
-with-rtsopts=-T
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
library hie-test-utils
hs-source-dirs: test/utils
exposed-modules: TestUtils
build-depends: base
, haskell-ide-engine
, haskell-lsp
, hie-plugin-api
, aeson
, blaze-markup
, containers
, data-default
, directory
, filepath
, ghc-mod-core
, hslogger
, hspec
, hspec-core
, stm
, text
, unordered-containers
, yaml
ghc-options: -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
test-suite unit-test
type: exitcode-stdio-1.0
hs-source-dirs: test/unit
main-is: Main.hs
other-modules: ApplyRefactPluginSpec
CodeActionsSpec
ContextSpec
DiffSpec
ExtensibleStateSpec
GhcModPluginSpec
HaRePluginSpec
HooglePluginSpec
JsonSpec
LiquidSpec
PackagePluginSpec
Spec
-- Technically cabal-helper should be a 'run-tool-depends', but that doesn't exist yet
build-tool-depends: cabal-helper:cabal-helper-main, hspec-discover:hspec-discover
build-depends: QuickCheck
, aeson
, base
, bytestring
, containers
, directory
, filepath
, free
, ghc
, haskell-ide-engine
, haskell-lsp-types >= 0.15.0.0
, hie-test-utils
, hie-plugin-api
, hoogle > 5.0.11
, hspec
, quickcheck-instances
, text
, unordered-containers
ghc-options: -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
test-suite dispatcher-test
type: exitcode-stdio-1.0
hs-source-dirs: test/dispatcher
main-is: Main.hs
build-depends: base
, aeson
, data-default
, directory
, filepath
, ghc
, haskell-ide-engine
, haskell-lsp-types
, hie-test-utils
, hie-plugin-api
, hspec
, stm
, text
, unordered-containers
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover
test-suite plugin-dispatcher-test
type: exitcode-stdio-1.0
hs-source-dirs: test/plugin-dispatcher
main-is: Main.hs
build-depends: base
, data-default
, haskell-ide-engine
, haskell-lsp-types
, hie-plugin-api
, hie-test-utils
, hspec
, stm
, text
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
test-suite func-test
type: exitcode-stdio-1.0
hs-source-dirs: test/functional
main-is: Main.hs
other-modules: CompletionSpec
, CommandSpec
, DeferredSpec
, DefinitionSpec
, DiagnosticsSpec
, FormatSpec
, FunctionalBadProjectSpec
, FunctionalCodeActionsSpec
, FunctionalLiquidSpec
, FunctionalSpec
, HaReSpec
, HighlightSpec
, HoverSpec
, ProgressSpec
, ReferencesSpec
, RenameSpec
, SymbolsSpec
, TypeDefinitionSpec
, Utils
build-depends: aeson
, base
, data-default
, directory
, filepath
, lsp-test >= 0.6.0.0
, haskell-ide-engine
, haskell-lsp-types == 0.15.*
, haskell-lsp == 0.15.*
, hie-test-utils
, hie-plugin-api
, hspec
, lens
, text
, unordered-containers
, containers
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover
, haskell-ide-engine:hie
, cabal-helper:cabal-helper-main
test-suite wrapper-test
type: exitcode-stdio-1.0
hs-source-dirs: test/wrapper
main-is: HieWrapper.hs
build-depends: base
, hspec
, directory
, process
, haskell-ide-engine
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/haskell/haskell-ide-engine