File tree Expand file tree Collapse file tree 7 files changed +52
-73
lines changed Expand file tree Collapse file tree 7 files changed +52
-73
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ packages:
55 ./hls-graph
66 ./ghcide
77 ./ghcide-bench
8- ./ghcide/test
98 ./hls-plugin-api
109 ./hls-test-utils
1110
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ library
7878 extra,
7979 filepath,
8080 ghcide,
81- ghcide-test-utils,
81+ ghcide :ghcide -test-utils,
8282 hashable,
8383 lens,
8484 lsp-test,
Original file line number Diff line number Diff line change 1- cabal-version : 3.0
1+ cabal-version : 3.4
22build-type : Simple
33category : Development
44name : ghcide
@@ -316,6 +316,50 @@ executable ghcide
316316
317317 cpp-options : -DMONITORING_EKG
318318
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+
319363test-suite ghcide-tests
320364 import : warnings
321365 type : exitcode-stdio-1.0
@@ -345,6 +389,7 @@ test-suite ghcide-tests
345389 --------------------------------------------------------------
346390 , ghc
347391 , ghcide
392+ , ghcide :ghcide-test-utils
348393 , hls-plugin-api
349394 , lens
350395 , list-t
@@ -374,7 +419,7 @@ test-suite ghcide-tests
374419 if impl(ghc < 9.3 )
375420 build-depends : ghc-typelits-knownnat
376421
377- hs-source-dirs : test/cabal test/ exe test/src
422+ hs-source-dirs : test/exe
378423 ghc-options : -threaded -O0 -Wno-name-shadowing
379424
380425 main-is : Main.hs
@@ -387,9 +432,6 @@ test-suite ghcide-tests
387432 CPPTests
388433 CradleTests
389434 DependentFileTest
390- Development.IDE.Test
391- Development.IDE.Test.Diagnostic
392- Development.IDE.Test.Runfiles
393435 DiagnosticTests
394436 ExceptionTests
395437 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
325325 , filepath
326326 , haskell-language-server :hls-call-hierarchy-plugin
327327 , hls-test-utils == 2.6.0.0
328- , ghcide-test-utils
328+ , ghcide :ghcide -test-utils
329329 , lens
330330 , lsp
331331 , lsp-test
@@ -1575,7 +1575,7 @@ test-suite hls-refactor-plugin-tests
15751575 , data-default
15761576 , extra
15771577 , ghcide
1578- , ghcide-test-utils
1578+ , ghcide :ghcide -test-utils
15791579 , shake
15801580 , hls-plugin-api
15811581 , lsp-test
@@ -1654,7 +1654,7 @@ test-suite hls-semantic-tokens-plugin-tests
16541654 , filepath
16551655 , haskell-language-server :hls-semantic-tokens-plugin
16561656 , hls-test-utils == 2.6.0.0
1657- , ghcide-test-utils
1657+ , ghcide :ghcide -test-utils
16581658 , hls-plugin-api
16591659 , lens
16601660 , lsp
@@ -1864,7 +1864,7 @@ test-suite func-test
18641864 , lens
18651865 , lens-aeson
18661866 , ghcide
1867- , ghcide-test-utils
1867+ , ghcide :ghcide -test-utils
18681868 , hls-test-utils == 2.6.0.0
18691869 , lsp-types
18701870 , aeson
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ packages:
55 - ./hie-compat
66 - ./hls-graph
77 - ./ghcide/
8- - ./ghcide/test
98 - ./hls-plugin-api
109 - ./hls-test-utils
1110 # - ./shake-bench
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ packages:
55 - ./hie-compat
66 - ./hls-graph
77 - ./ghcide/
8- - ./ghcide/test
98 - ./hls-plugin-api
109 - ./hls-test-utils
1110 # - ./shake-bench
You can’t perform that action at this time.
0 commit comments