File tree 7 files changed +52
-65
lines changed
7 files changed +52
-65
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ packages:
5
5
./hls-graph
6
6
./ghcide
7
7
./ghcide-bench
8
- ./ghcide/test
9
8
./hls-plugin-api
10
9
./hls-test-utils
11
10
Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ library
67
67
directory,
68
68
extra,
69
69
filepath,
70
- ghcide,
71
- ghcide-test-utils,
70
+ ghcide :{ghcide, ghcide-test-utils},
72
71
hashable,
73
72
lens,
74
73
lsp-test,
Original file line number Diff line number Diff line change 1
- cabal-version : 3.0
1
+ cabal-version : 3.4
2
2
build-type : Simple
3
3
category : Development
4
4
name : ghcide
@@ -280,6 +280,50 @@ executable ghcide
280
280
if !flag(executable)
281
281
buildable : False
282
282
283
+ library ghcide-test-utils
284
+ import : warnings
285
+ visibility : public
286
+ default-language : Haskell2010
287
+
288
+ hs-source-dirs : test/src test/cabal
289
+ exposed-modules :
290
+ Development.IDE.Test
291
+ Development.IDE.Test.Runfiles
292
+ Development.IDE.Test.Diagnostic
293
+
294
+ build-depends :
295
+ aeson,
296
+ base > 4.9 && < 5 ,
297
+ containers,
298
+ data-default,
299
+ directory,
300
+ extra,
301
+ filepath,
302
+ ghcide,
303
+ lsp-types,
304
+ hls-plugin-api,
305
+ lens,
306
+ lsp-test ^>= 0.16 ,
307
+ tasty-hunit >= 0.10 ,
308
+ text,
309
+ row-types,
310
+
311
+ default-extensions :
312
+ BangPatterns
313
+ DeriveFunctor
314
+ DeriveGeneric
315
+ FlexibleContexts
316
+ GeneralizedNewtypeDeriving
317
+ LambdaCase
318
+ NamedFieldPuns
319
+ OverloadedStrings
320
+ RecordWildCards
321
+ ScopedTypeVariables
322
+ StandaloneDeriving
323
+ TupleSections
324
+ TypeApplications
325
+ ViewPatterns
326
+
283
327
test-suite ghcide-tests
284
328
import : warnings
285
329
type : exitcode-stdio-1.0
@@ -301,6 +345,7 @@ test-suite ghcide-tests
301
345
, filepath
302
346
, fuzzy
303
347
, ghcide
348
+ , ghcide :ghcide-test-utils
304
349
, hls-plugin-api
305
350
, lens
306
351
, list-t
@@ -330,7 +375,7 @@ test-suite ghcide-tests
330
375
if impl(ghc < 9.3 )
331
376
build-depends : ghc-typelits-knownnat
332
377
333
- hs-source-dirs : test/cabal test/ exe test/src
378
+ hs-source-dirs : test/exe
334
379
ghc-options : -threaded -O0
335
380
336
381
main-is : Main.hs
@@ -343,9 +388,6 @@ test-suite ghcide-tests
343
388
CPPTests
344
389
CradleTests
345
390
DependentFileTest
346
- Development.IDE.Test
347
- Development.IDE.Test.Diagnostic
348
- Development.IDE.Test.Runfiles
349
391
DiagnosticTests
350
392
ExceptionTests
351
393
FindDefinitionAndHoverTests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ test-suite hls-call-hierarchy-plugin-tests
327
327
, filepath
328
328
, haskell-language-server :hls-call-hierarchy-plugin
329
329
, hls-test-utils == 2.6.0.0
330
- , ghcide-test-utils
330
+ , ghcide :ghcide -test-utils
331
331
, lens
332
332
, lsp
333
333
, lsp-test
@@ -1514,8 +1514,7 @@ test-suite hls-refactor-plugin-tests
1514
1514
, parser-combinators
1515
1515
, data-default
1516
1516
, extra
1517
- , ghcide
1518
- , ghcide-test-utils
1517
+ , ghcide :{ghcide, ghcide-test-utils}
1519
1518
, shake
1520
1519
, hls-plugin-api
1521
1520
, lsp-test
@@ -1590,7 +1589,7 @@ test-suite hls-semantic-tokens-plugin-tests
1590
1589
, filepath
1591
1590
, haskell-language-server :hls-semantic-tokens-plugin
1592
1591
, hls-test-utils == 2.6.0.0
1593
- , ghcide-test-utils
1592
+ , ghcide :ghcide -test-utils
1594
1593
, hls-plugin-api
1595
1594
, lens
1596
1595
, lsp
@@ -1763,7 +1762,7 @@ test-suite func-test
1763
1762
, deepseq
1764
1763
, extra
1765
1764
, filepath
1766
- , ghcide
1765
+ , ghcide :{ghcide, ghcide-test-utils}
1767
1766
, ghcide-test-utils
1768
1767
, hashable
1769
1768
, hls-plugin-api
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ packages:
5
5
- ./hie-compat
6
6
- ./hls-graph
7
7
- ./ghcide/
8
- - ./ghcide/test
9
8
- ./hls-plugin-api
10
9
- ./hls-test-utils
11
10
# - ./shake-bench
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ packages:
5
5
- ./hie-compat
6
6
- ./hls-graph
7
7
- ./ghcide/
8
- - ./ghcide/test
9
8
- ./hls-plugin-api
10
9
- ./hls-test-utils
11
10
# - ./shake-bench
You can’t perform that action at this time.
0 commit comments