1
- cabal-version : 2.4
1
+ cabal-version : 3.0
2
2
build-type : Simple
3
3
category : Development
4
4
name : ghcide
@@ -59,7 +59,6 @@ library
59
59
filepath,
60
60
fingertree,
61
61
focus,
62
- ghc-exactprint < 1 || >= 1.4 ,
63
62
ghc-trace-events,
64
63
Glob,
65
64
haddock-library >= 1.8 && < 1.11 ,
@@ -71,18 +70,14 @@ library
71
70
hiedb == 0.4.1. *,
72
71
lsp-types ^>= 1.4.0.1 ,
73
72
lsp ^>= 1.4.0.0 ,
74
- monoid-subclasses,
75
73
mtl,
76
- network-uri,
77
74
optparse-applicative,
78
75
parallel,
79
76
prettyprinter-ansi-terminal,
80
77
prettyprinter >= 1.6 ,
81
78
random,
82
79
regex-tdfa >= 1.3.1.0 ,
83
- retrie,
84
80
rope-utf16-splay,
85
- safe,
86
81
safe-exceptions,
87
82
hls-graph ^>= 1.7 ,
88
83
sorted-list,
@@ -94,9 +89,7 @@ library
94
89
time,
95
90
transformers,
96
91
unordered-containers >= 0.2.10.0 ,
97
- utf8-string,
98
92
vector,
99
- vector-algorithms,
100
93
hslogger,
101
94
Diff ^>= 0.4.0 ,
102
95
vector,
@@ -113,9 +106,6 @@ library
113
106
hie-bios ^>= 0.9.1 ,
114
107
implicit-hie-cradle ^>= 0.3.0.5 || ^>= 0.5 ,
115
108
base16-bytestring >= 0.1.1 && < 1.1
116
- if impl(ghc >= 9.2 )
117
- build-depends :
118
- ghc-exactprint >= 1.4
119
109
if os(windows)
120
110
build-depends :
121
111
Win32
@@ -171,7 +161,6 @@ library
171
161
Development.IDE.GHC.Compat
172
162
Development.IDE.GHC.Compat.Core
173
163
Development.IDE.GHC.Compat.Env
174
- Development.IDE.GHC.Compat.ExactPrint
175
164
Development.IDE.GHC.Compat.Iface
176
165
Development.IDE.GHC.Compat.Logger
177
166
Development.IDE.GHC.Compat.Outputable
@@ -183,7 +172,6 @@ library
183
172
Development.IDE.GHC.CoreFile
184
173
Development.IDE.GHC.Dump
185
174
Development.IDE.GHC.Error
186
- Development.IDE.GHC.ExactPrint
187
175
Development.IDE.GHC.Orphans
188
176
Development.IDE.GHC.Util
189
177
Development.IDE.Import.DependencyInformation
@@ -212,8 +200,6 @@ library
212
200
Development.IDE.Plugin
213
201
Development.IDE.Plugin.Completions
214
202
Development.IDE.Plugin.Completions.Types
215
- Development.IDE.Plugin.CodeAction
216
- Development.IDE.Plugin.CodeAction.ExactPrint
217
203
Development.IDE.Plugin.HLS
218
204
Development.IDE.Plugin.HLS.GhcIde
219
205
Development.IDE.Plugin.Test
@@ -225,8 +211,6 @@ library
225
211
Development.IDE.GHC.CPP
226
212
Development.IDE.GHC.Warnings
227
213
Development.IDE.LSP.Notifications
228
- Development.IDE.Plugin.CodeAction.PositionIndexed
229
- Development.IDE.Plugin.CodeAction.Args
230
214
Development.IDE.Plugin.Completions.Logic
231
215
Development.IDE.Session.VersionCheck
232
216
Development.IDE.Types.Action
@@ -405,6 +389,7 @@ test-suite ghcide-tests
405
389
ghc,
406
390
--------------------------------------------------------------
407
391
ghcide,
392
+ ghcide-test-utils,
408
393
ghc-typelits-knownnat,
409
394
haddock-library ,
410
395
lsp,
@@ -442,12 +427,10 @@ test-suite ghcide-tests
442
427
build-depends :
443
428
record-dot-preprocessor,
444
429
record-hasfield
445
- hs-source-dirs : test/cabal test/exe test/src bench/lib
430
+ hs-source-dirs : test/cabal test/exe bench/lib
446
431
ghc-options : -threaded -Wall -Wno-name-shadowing -O0 -Wno-unticked-promoted-constructors
447
432
main-is : Main.hs
448
433
other-modules :
449
- Development.IDE.Test
450
- Development.IDE.Test.Diagnostic
451
434
Development.IDE.Test.Runfiles
452
435
Experiments
453
436
Experiments.Types
@@ -470,6 +453,45 @@ test-suite ghcide-tests
470
453
TypeApplications
471
454
ViewPatterns
472
455
456
+ library ghcide-test-utils
457
+ visibility : public
458
+ default-language : Haskell2010
459
+ build-depends :
460
+ aeson,
461
+ base,
462
+ containers,
463
+ data-default,
464
+ directory,
465
+ extra,
466
+ filepath,
467
+ ghcide,
468
+ lsp-types,
469
+ hls-plugin-api,
470
+ lens,
471
+ lsp-test ^>= 0.14 ,
472
+ tasty-hunit >= 0.10 ,
473
+ text,
474
+ hs-source-dirs : test/src
475
+ ghc-options : -Wunused-packages
476
+ exposed-modules :
477
+ Development.IDE.Test
478
+ Development.IDE.Test.Diagnostic
479
+ default-extensions :
480
+ BangPatterns
481
+ DeriveFunctor
482
+ DeriveGeneric
483
+ FlexibleContexts
484
+ GeneralizedNewtypeDeriving
485
+ LambdaCase
486
+ NamedFieldPuns
487
+ OverloadedStrings
488
+ RecordWildCards
489
+ ScopedTypeVariables
490
+ StandaloneDeriving
491
+ TupleSections
492
+ TypeApplications
493
+ ViewPatterns
494
+
473
495
flag bench-exe
474
496
description : Build the ghcide-bench executable
475
497
default : True
0 commit comments