projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove replay tests entirely
[lsp-test.git]
/
lsp-test.cabal
diff --git
a/lsp-test.cabal
b/lsp-test.cabal
index dd90f8bc379deb36ae1b1dba057128c522451198..17f78b03185517dcec4034a641e6d7eade4ee80b 100644
(file)
--- a/
lsp-test.cabal
+++ b/
lsp-test.cabal
@@
-1,5
+1,5
@@
name: lsp-test
name: lsp-test
-version: 0.
5.1.4
+version: 0.
10.3.0
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
@@
-13,7
+13,6
@@
license: BSD3
license-file: LICENSE
author: Luke Lau
maintainer: luke_lau@icloud.com
license-file: LICENSE
author: Luke Lau
maintainer: luke_lau@icloud.com
-stability: experimental
bug-reports: https://github.com/bubba/lsp-test/issues
copyright: 2019 Luke Lau
category: Testing
bug-reports: https://github.com/bubba/lsp-test/issues
copyright: 2019 Luke Lau
category: Testing
@@
-21,11
+20,16
@@
build-type: Simple
cabal-version: 2.0
extra-source-files: README.md
, ChangeLog.md
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
+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
source-repository head
type: git
- location: https://github.com/bubba/haskell-lsp-test/
+ 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
library
hs-source-dirs: src
@@
-36,26
+40,26
@@
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.11.*
+ , haskell-lsp
>= 0.22 && < 0.23
, aeson
, aeson-pretty
, ansi-terminal
, aeson
, aeson-pretty
, ansi-terminal
+ , async
, bytestring
, conduit
, bytestring
, conduit
- , conduit-parse
- , containers
+ , conduit-parse
== 0.2.*
+ , containers
>= 0.5.9
, data-default
, Diff
, directory
, filepath
, lens
, mtl
, data-default
, Diff
, directory
, filepath
, lens
, mtl
- , parser-combinators
- , process
+ , parser-combinators
>= 1.2
+ , process
>= 1.6
, text
, transformers
, unordered-containers
, text
, transformers
, unordered-containers
- , yi-rope
if os(windows)
build-depends: Win32
else
if os(windows)
build-depends: Win32
else
@@
-70,6
+74,20
@@
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
+ 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
@@
-78,10
+96,13
@@
test-suite tests
build-depends: base >= 4.10 && < 5
, hspec
, lens
build-depends: base >= 4.10 && < 5
, hspec
, lens
- , haskell-lsp
== 0.11.*
+ , 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