Integrate Parsec transformer into Session monad
[opengl.git] / haskell-lsp-test.cabal
1 name:                haskell-lsp-test
2 version:             0.1.0.0
3 -- synopsis:
4 -- description:
5 homepage:            https://github.com/Bubba/haskell-lsp-test#readme
6 license:             BSD3
7 license-file:        LICENSE
8 author:              Luke Lau
9 maintainer:          luke_lau@icloud.com
10 copyright:           2018 Luke Lau
11 category:            Testing
12 build-type:          Simple
13 cabal-version:       >=1.10
14 extra-source-files:  README.md
15
16 library
17   hs-source-dirs:      src
18   exposed-modules:     Language.Haskell.LSP.Test
19                      , Language.Haskell.LSP.Test.Replay
20   default-language:    Haskell2010
21   build-depends:       base >= 4.7 && < 5
22                      , haskell-lsp-types
23                      , haskell-lsp
24                      , data-default
25                      , bytestring
26                      , aeson
27                      , lens
28                      , filepath
29                      , text
30                      , transformers
31                      , parsec
32                      , process
33                      , directory
34                      , containers
35                      , unordered-containers
36   if os(windows)
37     build-depends:     win32
38   else
39     build-depends:     unix
40   other-modules:       Language.Haskell.LSP.Test.Compat
41                        Language.Haskell.LSP.Test.Decoding
42                        Language.Haskell.LSP.Test.Files
43                        Language.Haskell.LSP.Test.Parsing
44                        Language.Haskell.LSP.Test.Messages
45   ghc-options:         -W
46
47 test-suite tests
48   type:                exitcode-stdio-1.0
49   main-is:             Test.hs
50   hs-source-dirs:      test
51   ghc-options:         -W
52   build-depends:       base >= 4.7 && < 5
53                      , hspec
54                      , lens
55                      , directory
56                      , haskell-lsp-test
57                      , haskell-lsp
58   default-language:    Haskell2010
59
60 executable example
61   hs-source-dirs:      example
62   main-is:             Main.hs
63   default-language:    Haskell2010
64   build-depends:       base >= 4.7 && < 5
65                      , haskell-lsp-test
66                      , haskell-lsp-types
67                      , lens
68                      , text
69                      , directory