Pretty print message trace
[lsp-test.git] / haskell-lsp-test.cabal
index 5907d7487564ff05bc98dce68e28101feaf56c18..d3ef9402ab39ed547f9280c63b50791dc04a98de 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
@@ -17,11 +19,15 @@ 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.7 && < 5
-                     , haskell-lsp-types
-                     , haskell-lsp
+                     , haskell-lsp >= 0.4
                      , aeson
+                     , aeson-pretty
+                     , ansi-terminal
                      , bytestring
                      , conduit
                      , conduit-parse
@@ -30,19 +36,21 @@ library
                      , directory
                      , filepath
                      , lens
+                     , mtl
                      , parser-combinators
                      , process
-                     , random
                      , text
                      , transformers
-                     , uuid
                      , unordered-containers
+                     , yi-rope
   if os(windows)
-    build-depends:     win32
+    build-depends:     Win32
   else
     build-depends:     unix
-  other-modules:       Language.Haskell.LSP.Test.Compat
+  other-modules:       Language.Haskell.LSP.Test.Capabilities
+                       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
@@ -58,21 +66,17 @@ test-suite tests
   build-depends:       base >= 4.7 && < 5
                      , hspec
                      , lens
-                     , directory
+                     , data-default
+                     , haskell-lsp >= 0.4
                      , haskell-lsp-test
-                     , haskell-lsp
-                     , conduit
-                     , conduit-parse
-  other-modules:       ParsingTests
+                     , aeson
+                     , unordered-containers
+                     , text
   default-language:    Haskell2010
 
-executable example
+executable lsp-test-example
   hs-source-dirs:      example
   main-is:             Main.hs
   default-language:    Haskell2010
   build-depends:       base >= 4.7 && < 5
                      , haskell-lsp-test
-                     , haskell-lsp-types
-                     , lens
-                     , text
-                     , directory
\ No newline at end of file