Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2020-02-04T23:41:29Z
- Loading branch information
1 parent
9b5b760
commit baca171
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: lsp-test | ||
version: 0.10.1.0 | ||
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 | ||
<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>. | ||
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 | ||
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 | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/bubba/lsp-test/ | ||
|
||
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 | ||
, parser-combinators:Control.Applicative.Combinators | ||
default-language: Haskell2010 | ||
build-depends: base >= 4.10 && < 5 | ||
, haskell-lsp >= 0.19 && < 0.21 | ||
, aeson | ||
, aeson-pretty | ||
, ansi-terminal | ||
, async | ||
, bytestring | ||
, conduit | ||
, conduit-parse == 0.2.* | ||
, containers >= 0.5.9 | ||
, data-default | ||
, Diff | ||
, directory | ||
, filepath | ||
, lens | ||
, mtl | ||
, parser-combinators >= 1.2 | ||
, process >= 1.6 | ||
, text | ||
, transformers | ||
, unordered-containers | ||
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 | ||
ghc-options: -W | ||
|
||
test-suite tests | ||
type: exitcode-stdio-1.0 | ||
main-is: Test.hs | ||
hs-source-dirs: test | ||
ghc-options: -W | ||
build-depends: base >= 4.10 && < 5 | ||
, hspec | ||
, lens | ||
, haskell-lsp >= 0.19 && < 0.21 | ||
, lsp-test | ||
, data-default | ||
, aeson | ||
, unordered-containers | ||
, text | ||
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"19b174623fdcaa5085020b596478ae65","Skein512_512":"bfb7a0a5a71f7b2c2aeaa1ff94df7ed6b1093a9d72a37b919bff761b1a58dc8a56a63321a6d3fc1fe29f4c1652ae5e9df61bdde01bc180c8f98d9da8a02226a2","SHA1":"de9abc39016db7d71a88962dda337170e772ead5","SHA512":"f46cef012b52a5bda277b782c3f1d722661ddfd1ee9a73732927a8674502930aea09cf289a3a766b823ee05f32fc3f3fca8867c9aea531449b70c126f0f97307","SHA256":"4c1dba814c1f7b298758d0a878c349ce47d4cc843967af28a4edad62df592ab8"},"package-locations":["https://hackage.haskell.org/package/lsp-test-0.10.1.0/lsp-test-0.10.1.0.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/lsp-test-0.10.1.0.tar.gz"],"package-size":26208} |