X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=haskell-lsp-test.cabal;h=860c29b59057ea387e9e11c6eb22b647271da9d1;hb=52fa38c9702407f58aeea09c6bded442d672d7fd;hp=44c0487989b04b57bb5f368e977bf5754df0c089;hpb=41ecc7bd7a4c9c92f966562bff4bfc2adbc20cff;p=opengl.git diff --git a/haskell-lsp-test.cabal b/haskell-lsp-test.cabal index 44c0487..860c29b 100644 --- a/haskell-lsp-test.cabal +++ b/haskell-lsp-test.cabal @@ -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 @@ -16,29 +18,63 @@ extra-source-files: README.md 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-client - , haskell-lsp-types + , haskell-lsp >= 0.4 + , aeson + , ansi-terminal + , bytestring + , conduit + , conduit-parse + , containers + , data-default + , directory + , filepath , lens + , mtl + , parser-combinators + , process , text , transformers - , process + , unordered-containers + , yi-rope if os(windows) - build-depends: win32 + build-depends: Win32 else build-depends: unix - other-modules: Compat - Capabilities + 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.Messages + Language.Haskell.LSP.Test.Parsing + Language.Haskell.LSP.Test.Server + Language.Haskell.LSP.Test.Session ghc-options: -W -executable example +test-suite tests + type: exitcode-stdio-1.0 + main-is: Test.hs + hs-source-dirs: test + ghc-options: -W + build-depends: base >= 4.7 && < 5 + , hspec + , lens + , data-default + , haskell-lsp >= 0.4 + , haskell-lsp-test + , aeson + , unordered-containers + , text + default-language: Haskell2010 + +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