File tree 7 files changed +52
-73
lines changed 7 files changed +52
-73
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 @@ -78,7 +78,7 @@ library
78
78
extra,
79
79
filepath,
80
80
ghcide,
81
- ghcide-test-utils,
81
+ ghcide :ghcide -test-utils,
82
82
hashable,
83
83
lens,
84
84
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
@@ -316,6 +316,50 @@ executable ghcide
316
316
317
317
cpp-options : -DMONITORING_EKG
318
318
319
+ library ghcide-test-utils
320
+ import : warnings
321
+ visibility : public
322
+ default-language : Haskell2010
323
+
324
+ hs-source-dirs : test/src test/cabal
325
+ exposed-modules :
326
+ Development.IDE.Test
327
+ Development.IDE.Test.Runfiles
328
+ Development.IDE.Test.Diagnostic
329
+
330
+ build-depends :
331
+ aeson,
332
+ base > 4.9 && < 5 ,
333
+ containers,
334
+ data-default,
335
+ directory,
336
+ extra,
337
+ filepath,
338
+ ghcide,
339
+ lsp-types,
340
+ hls-plugin-api,
341
+ lens,
342
+ lsp-test ^>= 0.16 ,
343
+ tasty-hunit >= 0.10 ,
344
+ text,
345
+ row-types,
346
+
347
+ default-extensions :
348
+ BangPatterns
349
+ DeriveFunctor
350
+ DeriveGeneric
351
+ FlexibleContexts
352
+ GeneralizedNewtypeDeriving
353
+ LambdaCase
354
+ NamedFieldPuns
355
+ OverloadedStrings
356
+ RecordWildCards
357
+ ScopedTypeVariables
358
+ StandaloneDeriving
359
+ TupleSections
360
+ TypeApplications
361
+ ViewPatterns
362
+
319
363
test-suite ghcide-tests
320
364
import : warnings
321
365
type : exitcode-stdio-1.0
@@ -345,6 +389,7 @@ test-suite ghcide-tests
345
389
--------------------------------------------------------------
346
390
, ghc
347
391
, ghcide
392
+ , ghcide :ghcide-test-utils
348
393
, hls-plugin-api
349
394
, lens
350
395
, list-t
@@ -374,7 +419,7 @@ test-suite ghcide-tests
374
419
if impl(ghc < 9.3 )
375
420
build-depends : ghc-typelits-knownnat
376
421
377
- hs-source-dirs : test/cabal test/ exe test/src
422
+ hs-source-dirs : test/exe
378
423
ghc-options : -threaded -O0 -Wno-name-shadowing
379
424
380
425
main-is : Main.hs
@@ -387,9 +432,6 @@ test-suite ghcide-tests
387
432
CPPTests
388
433
CradleTests
389
434
DependentFileTest
390
- Development.IDE.Test
391
- Development.IDE.Test.Diagnostic
392
- Development.IDE.Test.Runfiles
393
435
DiagnosticTests
394
436
ExceptionTests
395
437
FindDefinitionAndHoverTests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ test-suite hls-call-hierarchy-plugin-tests
325
325
, filepath
326
326
, haskell-language-server :hls-call-hierarchy-plugin
327
327
, hls-test-utils == 2.6.0.0
328
- , ghcide-test-utils
328
+ , ghcide :ghcide -test-utils
329
329
, lens
330
330
, lsp
331
331
, lsp-test
@@ -1575,7 +1575,7 @@ test-suite hls-refactor-plugin-tests
1575
1575
, data-default
1576
1576
, extra
1577
1577
, ghcide
1578
- , ghcide-test-utils
1578
+ , ghcide :ghcide -test-utils
1579
1579
, shake
1580
1580
, hls-plugin-api
1581
1581
, lsp-test
@@ -1654,7 +1654,7 @@ test-suite hls-semantic-tokens-plugin-tests
1654
1654
, filepath
1655
1655
, haskell-language-server :hls-semantic-tokens-plugin
1656
1656
, hls-test-utils == 2.6.0.0
1657
- , ghcide-test-utils
1657
+ , ghcide :ghcide -test-utils
1658
1658
, hls-plugin-api
1659
1659
, lens
1660
1660
, lsp
@@ -1864,7 +1864,7 @@ test-suite func-test
1864
1864
, lens
1865
1865
, lens-aeson
1866
1866
, ghcide
1867
- , ghcide-test-utils
1867
+ , ghcide :ghcide -test-utils
1868
1868
, hls-test-utils == 2.6.0.0
1869
1869
, lsp-types
1870
1870
, aeson
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