Add getCompletions helper function
[lsp-test.git] / haskell-lsp-test.cabal
index 22b43aa4b3e2bb761eeb28b02a712e7685533360..161126ec83ac8f0df223e1812ab3e1f49aa4e22c 100644 (file)
@@ -19,31 +19,37 @@ library
                      , Language.Haskell.LSP.Test.Replay
   default-language:    Haskell2010
   build-depends:       base >= 4.7 && < 5
-                     , haskell-lsp-types
-                     , haskell-lsp
+                     , haskell-lsp >= 0.3
                      , aeson
+                     , ansi-terminal
+                     , async
                      , bytestring
-                     , conduit-parse
                      , conduit
+                     , conduit-parse
                      , containers
                      , data-default
                      , directory
                      , filepath
                      , lens
-                     , parsers
+                     , mtl
+                     , parser-combinators
                      , process
                      , text
                      , transformers
                      , unordered-containers
+                     , yi-rope
   if os(windows)
-    build-depends:     win32
+    build-depends:     Win32
   else
     build-depends:     unix
   other-modules:       Language.Haskell.LSP.Test.Compat
                        Language.Haskell.LSP.Test.Decoding
+                       Language.Haskell.LSP.Test.Exceptions
                        Language.Haskell.LSP.Test.Files
-                       Language.Haskell.LSP.Test.Parsing
                        Language.Haskell.LSP.Test.Messages
+                       Language.Haskell.LSP.Test.Parsing
+                       Language.Haskell.LSP.Test.Server
+                       Language.Haskell.LSP.Test.Session
   ghc-options:         -W
 
 test-suite tests
@@ -54,9 +60,15 @@ test-suite tests
   build-depends:       base >= 4.7 && < 5
                      , hspec
                      , lens
+                     , data-default
                      , directory
                      , haskell-lsp-test
                      , haskell-lsp
+                     , conduit
+                     , conduit-parse
+                     , aeson
+                     , unordered-containers
+                     , text
   default-language:    Haskell2010
 
 executable example