X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=haskell-lsp-test.cabal;h=f724796e850e5307298a77b732933d464d327c5b;hb=92f1ae3d69a580eee74755a38a647e27c4f164ff;hp=22b43aa4b3e2bb761eeb28b02a712e7685533360;hpb=d8ce5332e9ac2dc24bf1490f03bd30abb17196e8;p=lsp-test.git diff --git a/haskell-lsp-test.cabal b/haskell-lsp-test.cabal index 22b43aa..f724796 100644 --- a/haskell-lsp-test.cabal +++ b/haskell-lsp-test.cabal @@ -20,32 +20,71 @@ library 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.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 + , haskell-lsp-types + , haskell-lsp >= 0.3 + , aeson + , ansi-terminal + , async + , bytestring + , conduit + , conduit-parse + , containers + , data-default + , directory + , filepath + , lens + , mtl + , parser-combinators + , process + , text + , transformers + , unordered-containers + , scientific + , yi-rope + if os(windows) + build-depends: Win32 + else + build-depends: unix + test-suite tests type: exitcode-stdio-1.0 main-is: Test.hs @@ -54,12 +93,20 @@ test-suite tests build-depends: base >= 4.7 && < 5 , hspec , lens + , data-default , directory , haskell-lsp-test , haskell-lsp + , haskell-lsp-types + , conduit + , 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