update and fill in `message`
[lsp-test.git] / lsp-test.cabal
index 17f78b03185517dcec4034a641e6d7eade4ee80b..0bf9dc9c797e9f50cb2a967ccb044ee7d90efd9c 100644 (file)
@@ -1,5 +1,5 @@
 name:                lsp-test
-version:             0.10.3.0
+version:             0.11.0.7
 synopsis:            Functional test framework for LSP servers.
 description:
   A test framework for writing tests against
@@ -7,20 +7,22 @@ description:
   @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
   <haskell-lsp https://hackage.haskell.org/package/haskell-lsp>.
-  It's currently used for testing in <https://github.com/haskell/haskell-ide-engine haskell-ide-engine>.
+  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
+  <https://github.com/digital-asset/ghcide ghcide>.
 homepage:            https://github.com/bubba/lsp-test#readme
 license:             BSD3
 license-file:        LICENSE
 author:              Luke Lau
 maintainer:          luke_lau@icloud.com
 bug-reports:         https://github.com/bubba/lsp-test/issues
-copyright:           2019 Luke Lau
+copyright:           2020 Luke Lau
 category:            Testing
 build-type:          Simple
 cabal-version:       2.0
 extra-source-files:  README.md
                    , ChangeLog.md
-tested-with:         GHC == 8.2.2 , GHC == 8.4.2 , GHC == 8.4.3, GHC == 8.6.4, GHC == 8.6.5, GHC == 8.8.1, GHC == 8.10.1
+tested-with:         GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1
 
 source-repository head
   type:     git
@@ -40,8 +42,9 @@ library
                      , parser-combinators:Control.Applicative.Combinators
   default-language:    Haskell2010
   build-depends:       base >= 4.10 && < 5
-                     , haskell-lsp >= 0.22 && < 0.23
+                     , haskell-lsp >= 0.22 && < 0.24
                      , aeson
+                     , time
                      , aeson-pretty
                      , ansi-terminal
                      , async
@@ -53,6 +56,7 @@ library
                      , Diff
                      , directory
                      , filepath
+                     , Glob >= 0.9 && < 0.11
                      , lens
                      , mtl
                      , parser-combinators >= 1.2
@@ -60,6 +64,7 @@ library
                      , text
                      , transformers
                      , unordered-containers
+                     , some
   if os(windows)
     build-depends:     Win32
   else
@@ -68,7 +73,6 @@ library
                        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
@@ -79,10 +83,12 @@ executable dummy-server
   hs-source-dirs:      test/dummy-server
   ghc-options:         -W
   build-depends:       base >= 4.10 && < 5
-                     , haskell-lsp
+                     , haskell-lsp >= 0.23 && < 0.24
                      , data-default
                      , aeson
                      , unordered-containers
+                     , directory
+                     , filepath
   default-language:    Haskell2010
   scope:               private
   if !flag(DummyServer)
@@ -96,7 +102,7 @@ test-suite tests
   build-depends:       base >= 4.10 && < 5
                      , hspec
                      , lens
-                     , haskell-lsp >= 0.22 && < 0.23
+                     , haskell-lsp >= 0.22 && < 0.24
                      , lsp-test
                      , data-default
                      , aeson