Start work on script and FSM
[lsp-test.git] / haskell-lsp-test.cabal
index eef87c601a08b41cd0cff95414727d39ff648a40..5facd922e76c479291ca6c6b0b6ef8382bbf4e61 100644 (file)
@@ -22,6 +22,8 @@ library
                      , haskell-lsp-types
                      , haskell-lsp >= 0.3
                      , aeson
+                     , ansi-terminal
+                     , async
                      , bytestring
                      , conduit
                      , conduit-parse
@@ -30,8 +32,9 @@ library
                      , directory
                      , filepath
                      , lens
+                     , mtl
                      , parser-combinators
-                     , process >= 1.6.3
+                     , process
                      , text
                      , transformers
                      , unordered-containers
@@ -42,13 +45,21 @@ library
     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.Machine
                        Language.Haskell.LSP.Test.Messages
                        Language.Haskell.LSP.Test.Parsing
                        Language.Haskell.LSP.Test.Server
                        Language.Haskell.LSP.Test.Session
   ghc-options:         -W
 
+executable lsp-test
+  hs-source-dirs:     src
+  main-is:            Language/Haskell/LSP/Test/Script.hs
+  default-language:   Haskell2010
+  build-depends:      base >= 4.7 && < 5
+
 test-suite tests
   type:                exitcode-stdio-1.0
   main-is:             Test.hs
@@ -66,10 +77,11 @@ test-suite tests
                      , conduit-parse
                      , aeson
                      , unordered-containers
+                     , text
   other-modules:       ParsingTests
   default-language:    Haskell2010
 
-executable example
+executable lsp-test-example
   hs-source-dirs:      example
   main-is:             Main.hs
   default-language:    Haskell2010