X-Git-Url: https://git.lukelau.me/?p=lsp-test.git;a=blobdiff_plain;f=lsp-test.cabal;h=4142b2ba3b81ad4b45fad128f5022beba432ec10;hp=07169a59474970de94b05ea6fabb616691e4f08d;hb=e8a6e5b9442b2cde0d861a169f5b219b64de380e;hpb=cdb1ba7038c32bac71a3bc783effc1e07049a985 diff --git a/lsp-test.cabal b/lsp-test.cabal index 07169a5..4142b2b 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -1,19 +1,30 @@ name: lsp-test -version: 0.1.0.0 +version: 0.10.2.0 synopsis: Functional test framework for LSP servers. --- description: -homepage: https://github.com/Bubba/haskell-lsp-test#readme +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 + . + It's currently used for testing in . +homepage: https://github.com/bubba/lsp-test#readme license: BSD3 license-file: LICENSE author: Luke Lau maintainer: luke_lau@icloud.com -stability: experimental -bug-reports: https://github.com/Bubba/haskell-lsp-test/issues -copyright: 2018 Luke Lau +bug-reports: https://github.com/bubba/lsp-test/issues +copyright: 2019 Luke Lau category: Testing build-type: Simple -cabal-version: >=1.10 +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 + +source-repository head + type: git + location: https://github.com/bubba/lsp-test/ library hs-source-dirs: src @@ -23,33 +34,32 @@ library , haskell-lsp:Language.Haskell.LSP.Types.Capabilities , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 - build-depends: base >= 4.7 && < 5 - , haskell-lsp >= 0.4 + build-depends: base >= 4.10 && < 5 + , haskell-lsp >= 0.19 && < 0.22 , aeson , aeson-pretty , ansi-terminal + , async , bytestring , conduit - , conduit-parse - , containers + , conduit-parse == 0.2.* + , containers >= 0.5.9 , data-default , Diff , directory , filepath , lens , mtl - , parser-combinators - , process + , parser-combinators >= 1.2 + , process >= 1.6 , text , transformers , unordered-containers - , yi-rope if os(windows) build-depends: Win32 else build-depends: unix - other-modules: Language.Haskell.LSP.Test.Capabilities - Language.Haskell.LSP.Test.Compat + other-modules: Language.Haskell.LSP.Test.Compat Language.Haskell.LSP.Test.Decoding Language.Haskell.LSP.Test.Exceptions Language.Haskell.LSP.Test.Files @@ -64,20 +74,13 @@ test-suite tests main-is: Test.hs hs-source-dirs: test ghc-options: -W - build-depends: base >= 4.7 && < 5 + build-depends: base >= 4.10 && < 5 , hspec , lens - , data-default - , haskell-lsp >= 0.4 + , haskell-lsp >= 0.19 && < 0.22 , lsp-test + , data-default , aeson , unordered-containers , text default-language: Haskell2010 - -executable lsp-test-example - hs-source-dirs: example - main-is: Main.hs - default-language: Haskell2010 - build-depends: base >= 4.7 && < 5 - , lsp-test