Merge branch 'master' into script-fsm
[lsp-test.git] / haskell-lsp-test.cabal
index c5d1391eca38a99d3546c5ef407c06eaf5f564a0..6fba8f24d253b3e26a027ad083bd6e5ded67770b 100644 (file)
@@ -1,12 +1,14 @@
 name:                haskell-lsp-test
 version:             0.1.0.0
--- synopsis:
+synopsis:            Functional test framework for LSP servers.
 -- description:
 homepage:            https://github.com/Bubba/haskell-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
 category:            Testing
 build-type:          Simple
@@ -18,10 +20,13 @@ library
   exposed-modules:     Language.Haskell.LSP.Test
                      , Language.Haskell.LSP.Test.Replay
                      , Language.Haskell.LSP.Test.Machine
+  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.7 && < 5
                      , haskell-lsp-types
-                     , haskell-lsp >= 0.3
+                     , haskell-lsp >= 0.4
                      , haskell-lsp-test-internal
                      , aeson
                      , bytestring
@@ -35,8 +40,6 @@ library
                      , unordered-containers
                      , yi-rope
 
-  ghc-options:         -W
-
 library haskell-lsp-test-internal
   hs-source-dirs:      src
   default-language:    Haskell2010
@@ -77,14 +80,13 @@ library haskell-lsp-test-internal
     build-depends:     unix
   ghc-options:         -W
 
-
 executable lsp-test
   hs-source-dirs:     lsp-test
   main-is:            Main.hs
   default-language:   Haskell2010
   build-depends:      base >= 4.7 && < 5
                     , haskell-lsp-types
-                    , haskell-lsp >= 0.3
+                    , haskell-lsp >= 0.4
                     , haskell-lsp-test-internal
                     , haskell-lsp-test
                     , aeson
@@ -104,13 +106,8 @@ test-suite tests
                      , hspec
                      , lens
                      , data-default
-                     , directory
+                     , haskell-lsp >= 0.4
                      , haskell-lsp-test
-                     , haskell-lsp-test-internal
-                     , haskell-lsp
-                     , haskell-lsp-types
-                     , conduit
-                     , conduit-parse
                      , aeson
                      , unordered-containers
                      , text
@@ -122,7 +119,3 @@ executable lsp-test-example
   default-language:    Haskell2010
   build-depends:       base >= 4.7 && < 5
                      , haskell-lsp-test
-                     , haskell-lsp-types
-                     , lens
-                     , text
-                     , directory