X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=lsp-test.cabal;h=a0775b3900acf8fd85bb840875bc1740aa8114a9;hb=56c39e493dfc0bf610e3807f69ccc7af8549d3e3;hp=1fcd4ec25b5acc076e4b215855a015b65067985d;hpb=84e2707604b3a64c00062104fa40e2ea76040155;p=lsp-test.git diff --git a/lsp-test.cabal b/lsp-test.cabal index 1fcd4ec..a0775b3 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -4,8 +4,8 @@ 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 @@ -35,13 +35,13 @@ Flag DummyServer library hs-source-dirs: src - exposed-modules: Language.Haskell.LSP.Test - reexported-modules: lsp-types:Language.Haskell.LSP.Types - , lsp-types: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 - , lsp-types == 1.0.* + , lsp-types >= 1.0.0.1 && < 1.1 , aeson , time , aeson-pretty @@ -68,22 +68,21 @@ library 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.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 main-is: Main.hs hs-source-dirs: test/dummy-server ghc-options: -W - build-depends: base >= 4.10 && < 5 - , lsp == 1.0.* - , data-default + build-depends: base >= 4.11 && < 5 + , lsp >= 1.0.0.1 && < 1.1 , aeson , unordered-containers , directory @@ -103,7 +102,7 @@ test-suite tests build-depends: base >= 4.10 && < 5 , hspec , lens - , lsp-types == 1.0.* + , lsp-types >= 1.0.0.1 && < 1.1 , lsp-test , data-default , aeson