@@ -60,7 +60,6 @@ library
60
60
filepath,
61
61
fingertree,
62
62
focus,
63
- ghc-exactprint < 1 || >= 1.4 ,
64
63
ghc-trace-events,
65
64
Glob,
66
65
haddock-library >= 1.8 && < 1.11 ,
@@ -74,16 +73,13 @@ library
74
73
lsp ^>= 1.5.0.0 ,
75
74
monoid-subclasses,
76
75
mtl,
77
- network-uri,
78
76
optparse-applicative,
79
77
parallel,
80
78
prettyprinter-ansi-terminal,
81
79
prettyprinter >= 1.6 ,
82
80
random,
83
81
regex-tdfa >= 1.3.1.0 ,
84
- retrie,
85
82
text-rope,
86
- safe,
87
83
safe-exceptions,
88
84
hls-graph ^>= 1.7 ,
89
85
sorted-list,
@@ -95,9 +91,7 @@ library
95
91
time,
96
92
transformers,
97
93
unordered-containers >= 0.2.10.0 ,
98
- utf8-string,
99
94
vector,
100
- vector-algorithms,
101
95
hslogger,
102
96
Diff ^>= 0.4.0 ,
103
97
vector,
@@ -114,9 +108,6 @@ library
114
108
hie-bios ^>= 0.9.1 ,
115
109
implicit-hie-cradle ^>= 0.3.0.5 || ^>= 0.5 ,
116
110
base16-bytestring >= 0.1.1 && < 1.1
117
- if impl(ghc >= 9.2 )
118
- build-depends :
119
- ghc-exactprint >= 1.4
120
111
if os(windows)
121
112
build-depends :
122
113
Win32
@@ -172,7 +163,6 @@ library
172
163
Development.IDE.GHC.Compat
173
164
Development.IDE.GHC.Compat.Core
174
165
Development.IDE.GHC.Compat.Env
175
- Development.IDE.GHC.Compat.ExactPrint
176
166
Development.IDE.GHC.Compat.Iface
177
167
Development.IDE.GHC.Compat.Logger
178
168
Development.IDE.GHC.Compat.Outputable
@@ -182,9 +172,7 @@ library
182
172
Development.IDE.GHC.Compat.Util
183
173
Development.IDE.Core.Compile
184
174
Development.IDE.GHC.CoreFile
185
- Development.IDE.GHC.Dump
186
175
Development.IDE.GHC.Error
187
- Development.IDE.GHC.ExactPrint
188
176
Development.IDE.GHC.Orphans
189
177
Development.IDE.GHC.Util
190
178
Development.IDE.Import.DependencyInformation
@@ -214,8 +202,6 @@ library
214
202
Development.IDE.Plugin
215
203
Development.IDE.Plugin.Completions
216
204
Development.IDE.Plugin.Completions.Types
217
- Development.IDE.Plugin.CodeAction
218
- Development.IDE.Plugin.CodeAction.ExactPrint
219
205
Development.IDE.Plugin.HLS
220
206
Development.IDE.Plugin.HLS.GhcIde
221
207
Development.IDE.Plugin.Test
@@ -226,8 +212,6 @@ library
226
212
Development.IDE.Core.FileExists
227
213
Development.IDE.GHC.CPP
228
214
Development.IDE.GHC.Warnings
229
- Development.IDE.Plugin.CodeAction.PositionIndexed
230
- Development.IDE.Plugin.CodeAction.Args
231
215
Development.IDE.Plugin.Completions.Logic
232
216
Development.IDE.Session.VersionCheck
233
217
Development.IDE.Types.Action
@@ -365,6 +349,7 @@ test-suite ghcide-tests
365
349
ghc,
366
350
--------------------------------------------------------------
367
351
ghcide,
352
+ ghcide-test-utils,
368
353
ghc-typelits-knownnat,
369
354
lsp,
370
355
lsp-types,
@@ -393,12 +378,10 @@ test-suite ghcide-tests
393
378
build-depends :
394
379
record-dot-preprocessor,
395
380
record-hasfield
396
- hs-source-dirs : test/cabal test/exe test/src bench/lib
381
+ hs-source-dirs : test/cabal test/exe bench/lib
397
382
ghc-options : -threaded -Wall -Wno-name-shadowing -O0 -Wno-unticked-promoted-constructors
398
383
main-is : Main.hs
399
384
other-modules :
400
- Development.IDE.Test
401
- Development.IDE.Test.Diagnostic
402
385
Development.IDE.Test.Runfiles
403
386
FuzzySearch
404
387
Progress
@@ -418,3 +401,42 @@ test-suite ghcide-tests
418
401
TupleSections
419
402
TypeApplications
420
403
ViewPatterns
404
+
405
+ library ghcide-test-utils
406
+ visibility : public
407
+ default-language : Haskell2010
408
+ build-depends :
409
+ aeson,
410
+ base,
411
+ containers,
412
+ data-default,
413
+ directory,
414
+ extra,
415
+ filepath,
416
+ ghcide,
417
+ lsp-types,
418
+ hls-plugin-api,
419
+ lens,
420
+ lsp-test ^>= 0.14 ,
421
+ tasty-hunit >= 0.10 ,
422
+ text,
423
+ hs-source-dirs : test/src
424
+ ghc-options : -Wunused-packages
425
+ exposed-modules :
426
+ Development.IDE.Test
427
+ Development.IDE.Test.Diagnostic
428
+ default-extensions :
429
+ BangPatterns
430
+ DeriveFunctor
431
+ DeriveGeneric
432
+ FlexibleContexts
433
+ GeneralizedNewtypeDeriving
434
+ LambdaCase
435
+ NamedFieldPuns
436
+ OverloadedStrings
437
+ RecordWildCards
438
+ ScopedTypeVariables
439
+ StandaloneDeriving
440
+ TupleSections
441
+ TypeApplications
442
+ ViewPatterns
0 commit comments