X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=lsp-test.cabal;h=e2b0708840e5a7111021b90a3deb914f62be742d;hb=0708f1ec15aba3aeb0427dceea77dbd37e933a3f;hp=9eabc8a16b1f106a1189fc46456fc38e54a580aa;hpb=82b289c0c28f425f2bdce9c209e927d9595585ee;p=lsp-test.git diff --git a/lsp-test.cabal b/lsp-test.cabal index 9eabc8a..e2b0708 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -1,11 +1,11 @@ name: lsp-test -version: 0.11.0.6 +version: 0.11.0.7 synopsis: Functional test framework for LSP servers. description: A test framework for writing tests against . - @Language.Haskell.LSP.Test@ launches your server as a subprocess and allows you to simulate a session - down to the wire, and @Language.Haskell.LSP.Test@ can replay captured sessions from + @Language.LSP.Test@ launches your server as a subprocess and allows you to simulate a session + down to the wire, and @Language.LSP.Test@ can replay captured sessions from . To see examples of it in action, check out , and @@ -22,7 +22,7 @@ build-type: Simple cabal-version: 2.0 extra-source-files: README.md , ChangeLog.md -tested-with: GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1 +tested-with: GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1, GHC == 8.10.2 source-repository head type: git @@ -35,15 +35,15 @@ Flag DummyServer library hs-source-dirs: src - exposed-modules: Language.Haskell.LSP.Test - , Language.Haskell.LSP.Test.Replay - reexported-modules: haskell-lsp:Language.Haskell.LSP.Types - , haskell-lsp:Language.Haskell.LSP.Types.Capabilities + exposed-modules: Language.LSP.Test + reexported-modules: lsp-types:Language.LSP.Types + , lsp-types:Language.LSP.Types.Capabilities , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 build-depends: base >= 4.10 && < 5 - , haskell-lsp >= 0.22 && < 0.24 + , lsp-types == 1.0.* , aeson + , time , aeson-pretty , ansi-terminal , async @@ -63,18 +63,18 @@ library , text , transformers , unordered-containers + , some if os(windows) build-depends: Win32 else build-depends: unix - other-modules: Language.Haskell.LSP.Test.Compat - Language.Haskell.LSP.Test.Decoding - Language.Haskell.LSP.Test.Exceptions - Language.Haskell.LSP.Test.Files - Language.Haskell.LSP.Test.Messages - Language.Haskell.LSP.Test.Parsing - Language.Haskell.LSP.Test.Server - Language.Haskell.LSP.Test.Session + other-modules: Language.LSP.Test.Compat + Language.LSP.Test.Decoding + Language.LSP.Test.Exceptions + Language.LSP.Test.Files + Language.LSP.Test.Parsing + Language.LSP.Test.Server + Language.LSP.Test.Session ghc-options: -W executable dummy-server @@ -82,12 +82,13 @@ executable dummy-server hs-source-dirs: test/dummy-server ghc-options: -W build-depends: base >= 4.10 && < 5 - , haskell-lsp >= 0.23 && < 0.24 - , data-default + , lsp == 1.0.* , aeson , unordered-containers , directory , filepath + , unliftio + , mtl default-language: Haskell2010 scope: private if !flag(DummyServer) @@ -101,7 +102,7 @@ test-suite tests build-depends: base >= 4.10 && < 5 , hspec , lens - , haskell-lsp >= 0.22 && < 0.24 + , lsp-types == 1.0.* , lsp-test , data-default , aeson