Move more String types to Text types
[lsp-test.git] / lsp-test.cabal
index 1fcd4ec25b5acc076e4b215855a015b65067985d..a0775b3900acf8fd85bb840875bc1740aa8114a9 100644 (file)
@@ -4,8 +4,8 @@ synopsis:            Functional test framework for LSP servers.
 description:
   A test framework for writing tests against
   <https://microsoft.github.io/language-server-protocol/ Language Server Protocol servers>.
-  @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
   <haskell-lsp https://hackage.haskell.org/package/haskell-lsp>.
   To see examples of it in action, check out <https://github.com/haskell/haskell-ide-engine haskell-ide-engine>,
   <https://github.com/haskell/haskell-language-server haskell-language-server> 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