Update description field
[opengl.git] / lsp-test.cabal
1 name:                lsp-test
2 version:             0.1.0.0
3 synopsis:            Functional test framework for LSP servers.
4 description:
5   A test framework for writing tests against 
6   <https://microsoft.github.io/language-server-protocol/ Language Server Protocol servers>.
7   @Language.Haskell.LSP.Test@ launches your server as a subprocess and allows you to simulate a session
8   down to the wire, and @Language.Haskell.LSP.Test@ can replay captured sessions from
9   <haskell-lsp-test https://hackage.haskell.org/package/haskell-lsp>.
10   It's currently used for testing in <https://github.com/haskell/haskell-ide-engine haskell-ide-engine>.
11 homepage:            https://github.com/Bubba/haskell-lsp-test#readme
12 license:             BSD3
13 license-file:        LICENSE
14 author:              Luke Lau
15 maintainer:          luke_lau@icloud.com
16 stability:           experimental
17 bug-reports:         https://github.com/Bubba/haskell-lsp-test/issues
18 copyright:           2018 Luke Lau
19 category:            Testing
20 build-type:          Simple
21 cabal-version:       2.0
22 extra-source-files:  README.md
23 tested-with:         GHC == 8.2.2 , GHC == 8.4.2 , GHC == 8.4.3
24
25 source-repository head
26   type:     git
27   location: https://github.com/Bubba/haskell-lsp-test/
28
29 library
30   hs-source-dirs:      src
31   exposed-modules:     Language.Haskell.LSP.Test
32                      , Language.Haskell.LSP.Test.Replay
33   reexported-modules:  haskell-lsp:Language.Haskell.LSP.Types
34                      , haskell-lsp:Language.Haskell.LSP.Types.Capabilities
35                      , parser-combinators:Control.Applicative.Combinators
36   default-language:    Haskell2010
37   build-depends:       base >= 4.7 && < 5
38                      , haskell-lsp >= 0.5
39                      , aeson
40                      , aeson-pretty
41                      , ansi-terminal
42                      , bytestring
43                      , conduit
44                      , conduit-parse
45                      , containers
46                      , data-default
47                      , Diff
48                      , directory
49                      , filepath
50                      , lens
51                      , mtl
52                      , parser-combinators
53                      , process
54                      , text
55                      , transformers
56                      , unordered-containers
57                      , yi-rope
58   if os(windows)
59     build-depends:     Win32
60   else
61     build-depends:     unix
62   other-modules:       Language.Haskell.LSP.Test.Compat
63                        Language.Haskell.LSP.Test.Decoding
64                        Language.Haskell.LSP.Test.Exceptions
65                        Language.Haskell.LSP.Test.Files
66                        Language.Haskell.LSP.Test.Messages
67                        Language.Haskell.LSP.Test.Parsing
68                        Language.Haskell.LSP.Test.Server
69                        Language.Haskell.LSP.Test.Session
70   ghc-options:         -W
71
72 test-suite tests
73   type:                exitcode-stdio-1.0
74   main-is:             Test.hs
75   hs-source-dirs:      test
76   ghc-options:         -W
77   build-depends:       base >= 4.7 && < 5
78                      , hspec
79                      , lens
80                      , data-default
81                      , haskell-lsp >= 0.5
82                      , lsp-test
83                      , aeson
84                      , unordered-containers
85                      , text
86   default-language:    Haskell2010
87