projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make URL absolute in workspace/didChangeWatchedFile
[lsp-test.git]
/
lsp-test.cabal
diff --git
a/lsp-test.cabal
b/lsp-test.cabal
index c6d543c9dd39e9ed1689c84e4ce4f2a16bd3721e..1fc743a9cb5b076bb61c7c3f1324701f564651db 100644
(file)
--- a/
lsp-test.cabal
+++ b/
lsp-test.cabal
@@
-1,5
+1,5
@@
name: lsp-test
name: lsp-test
-version: 0.1
0.3.0
+version: 0.1
1.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,14
+7,16
@@
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
bug-reports: https://github.com/bubba/lsp-test/issues
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: 20
19
Luke Lau
+copyright: 20
20
Luke Lau
category: Testing
build-type: Simple
cabal-version: 2.0
category: Testing
build-type: Simple
cabal-version: 2.0
@@
-26,6
+28,11
@@
source-repository head
type: git
location: https://github.com/bubba/lsp-test/
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
@@
-48,6
+55,7
@@
library
, Diff
, directory
, filepath
, Diff
, directory
, filepath
+ , Glob ^>= 0.10
, lens
, mtl
, parser-combinators >= 1.2
, lens
, mtl
, parser-combinators >= 1.2
@@
-69,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
@@
-83,4
+107,7
@@
test-suite tests
, aeson
, unordered-containers
, text
, aeson
, unordered-containers
, text
+ , directory
+ , filepath
default-language: Haskell2010
default-language: Haskell2010
+ build-tool-depends: lsp-test:dummy-server