projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention LSP_TEST_LOG_STDERR in README
[lsp-test.git]
/
lsp-test.cabal
diff --git
a/lsp-test.cabal
b/lsp-test.cabal
index 80283b75b07f32b6844fa2caa3f8445fa86ffd5f..34b80b969d94c90f8241576d1fc1159d5004af6c 100644
(file)
--- a/
lsp-test.cabal
+++ b/
lsp-test.cabal
@@
-1,5
+1,5
@@
name: lsp-test
name: lsp-test
-version: 0.
8.0.0
+version: 0.
11.0.1
synopsis: Functional test framework for LSP servers.
description:
A test framework for writing tests against
synopsis: Functional test framework for LSP servers.
description:
A test framework for writing tests against
@@
-7,26
+7,32
@@
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>.
@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
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/lsp-test/issues
bug-reports: https://github.com/bubba/lsp-test/issues
-copyright: 20
19
Luke Lau
+copyright: 20
20
Luke Lau
category: Testing
build-type: Simple
cabal-version: 2.0
extra-source-files: README.md
, ChangeLog.md
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
+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
source-repository head
type: git
location: https://github.com/bubba/lsp-test/
source-repository head
type: git
location: https://github.com/bubba/lsp-test/
+Flag DummyServer
+ Description: Build the dummy server executable used in testing
+ Default: False
+ Manual: True
+
library
hs-source-dirs: src
exposed-modules: Language.Haskell.LSP.Test
library
hs-source-dirs: src
exposed-modules: Language.Haskell.LSP.Test
@@
-36,7
+42,7
@@
library
, parser-combinators:Control.Applicative.Combinators
default-language: Haskell2010
build-depends: base >= 4.10 && < 5
, parser-combinators:Control.Applicative.Combinators
default-language: Haskell2010
build-depends: base >= 4.10 && < 5
- , haskell-lsp
== 0.17.*
+ , haskell-lsp
>= 0.22 && < 0.23
, aeson
, aeson-pretty
, ansi-terminal
, aeson
, aeson-pretty
, ansi-terminal
@@
-44,16
+50,16
@@
library
, bytestring
, conduit
, conduit-parse == 0.2.*
, bytestring
, conduit
, conduit-parse == 0.2.*
- , containers
+ , containers
>= 0.5.9
, data-default
, Diff
, directory
, filepath
, data-default
, Diff
, directory
, filepath
+ , Glob >= 0.9 && < 0.11
, lens
, mtl
, lens
, mtl
- , parser-combinators
+ , parser-combinators
>= 1.2
, process >= 1.6
, process >= 1.6
- , rope-utf16-splay
, text
, transformers
, unordered-containers
, text
, transformers
, unordered-containers
@@
-71,6
+77,22
@@
library
Language.Haskell.LSP.Test.Session
ghc-options: -W
Language.Haskell.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
+ , haskell-lsp
+ , data-default
+ , aeson
+ , unordered-containers
+ , directory
+ , filepath
+ default-language: Haskell2010
+ scope: private
+ if !flag(DummyServer)
+ buildable: False
+
test-suite tests
type: exitcode-stdio-1.0
main-is: Test.hs
test-suite tests
type: exitcode-stdio-1.0
main-is: Test.hs
@@
-79,10
+101,13
@@
test-suite tests
build-depends: base >= 4.10 && < 5
, hspec
, lens
build-depends: base >= 4.10 && < 5
, hspec
, lens
- , haskell-lsp
== 0.17.*
+ , haskell-lsp
>= 0.22 && < 0.23
, lsp-test
, data-default
, aeson
, unordered-containers
, text
, lsp-test
, data-default
, aeson
, unordered-containers
, text
+ , directory
+ , filepath
default-language: Haskell2010
default-language: Haskell2010
+ build-tool-depends: lsp-test:dummy-server