Plug in hedgehog
[lsp-test.git] / haskell-lsp-test.cabal
index 9c21b77511fe8b57a5677edb946eb8ea61cf0c30..1b2b05a4842813b67a3deb351a060e08eb8363ed 100644 (file)
@@ -19,19 +19,25 @@ library
   hs-source-dirs:      src
   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 >= 0.4
                      , aeson
+                     , aeson-pretty
                      , ansi-terminal
-                     , async
                      , bytestring
                      , conduit
                      , conduit-parse
                      , containers
                      , data-default
                      , directory
+                     , exceptions
                      , filepath
+                     , hedgehog
                      , lens
                      , mtl
                      , parser-combinators
@@ -44,7 +50,8 @@ library
     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
@@ -63,23 +70,16 @@ test-suite tests
                      , hspec
                      , lens
                      , data-default
-                     , directory
-                     , haskell-lsp-test
                      , haskell-lsp >= 0.4
-                     , conduit
-                     , conduit-parse
+                     , haskell-lsp-test
                      , 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 >= 0.4
-                     , lens
-                     , text
-                     , directory