X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=haskell-lsp-test.cabal;h=6fba8f24d253b3e26a027ad083bd6e5ded67770b;hb=refs%2Fheads%2Fscript-fsm;hp=d6f8a4d41f7f609648c91165ec869127aa80dc2b;hpb=0f8b9d328f4d950ff0a2e1c3b5aed593b21c2d3a;p=lsp-test.git diff --git a/haskell-lsp-test.cabal b/haskell-lsp-test.cabal index d6f8a4d..6fba8f2 100644 --- a/haskell-lsp-test.cabal +++ b/haskell-lsp-test.cabal @@ -1,27 +1,63 @@ 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 -cabal-version: >=1.10 +cabal-version: >=2.0 extra-source-files: README.md library - hs-source-dirs: src + hs-source-dirs: lib 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-types + , haskell-lsp >= 0.4 + , haskell-lsp-test-internal + , aeson + , bytestring + , containers + , data-default + , directory + , filepath + , lens + , parser-combinators + , text + , unordered-containers + , yi-rope + +library haskell-lsp-test-internal + hs-source-dirs: src + default-language: Haskell2010 + exposed-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.Script + Language.Haskell.LSP.Test.Server + Language.Haskell.LSP.Test.Session + build-depends: base , haskell-lsp-types , haskell-lsp >= 0.3 , aeson + , ansi-terminal + , async , bytestring , conduit , conduit-parse @@ -30,8 +66,10 @@ library , directory , filepath , lens + , mtl + , scientific , parser-combinators - , process >= 1.6.3 + , process , text , transformers , unordered-containers @@ -40,16 +78,25 @@ library 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.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: lsp-test + main-is: Main.hs + default-language: Haskell2010 + build-depends: base >= 4.7 && < 5 + , haskell-lsp-types + , haskell-lsp >= 0.4 + , haskell-lsp-test-internal + , haskell-lsp-test + , aeson + , bytestring + , directory + , filepath + , text + , unordered-containers + , scientific + test-suite tests type: exitcode-stdio-1.0 main-is: Test.hs @@ -59,24 +106,16 @@ test-suite tests , hspec , lens , data-default - , directory + , haskell-lsp >= 0.4 , haskell-lsp-test - , haskell-lsp - , haskell-lsp-types - , conduit - , conduit-parse , aeson , unordered-containers - other-modules: ParsingTests + , 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-types - , lens - , text - , directory