X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=haskell-lsp-test.cabal;h=a61a18d42f33a00be906b2c7cfa217a91b9fe467;hb=1f4a12c49be0cb8640d60c21f6499c5567646fba;hp=44c0487989b04b57bb5f368e977bf5754df0c089;hpb=41ecc7bd7a4c9c92f966562bff4bfc2adbc20cff;p=lsp-test.git diff --git a/haskell-lsp-test.cabal b/haskell-lsp-test.cabal index 44c0487..a61a18d 100644 --- a/haskell-lsp-test.cabal +++ b/haskell-lsp-test.cabal @@ -16,22 +16,46 @@ extra-source-files: README.md library hs-source-dirs: src exposed-modules: Language.Haskell.LSP.Test + , Language.Haskell.LSP.Test.Recorded default-language: Haskell2010 build-depends: base >= 4.7 && < 5 , haskell-lsp-client , haskell-lsp-types + , haskell-lsp + , data-default + , bytestring + , aeson , lens + , filepath , text , transformers , process + , directory + , containers + , unordered-containers if os(windows) build-depends: win32 else build-depends: unix other-modules: Compat Capabilities + Language.Haskell.LSP.Test.Files + Language.Haskell.LSP.Test.Parsing ghc-options: -W +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 + , directory + , haskell-lsp-test + , haskell-lsp-types + default-language: Haskell2010 + executable example hs-source-dirs: example main-is: Main.hs @@ -42,3 +66,11 @@ executable example , lens , text , directory + +executable recorded-example + hs-source-dirs: example + main-is: Recorded.hs + default-language: Haskell2010 + build-depends: base >= 4.7 && < 5 + , haskell-lsp-test + , directory