Add recorded playback
[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.Recorded
20   default-language:    Haskell2010
21   build-depends:       base >= 4.7 && < 5
22                      , haskell-lsp-client
23                      , haskell-lsp-types
24                      , haskell-lsp
25                      , data-default
26                      , bytestring
27                      , aeson
28                      , lens
29                      , text
30                      , transformers
31                      , process
32   if os(windows)
33     build-depends:     win32
34   else
35     build-depends:     unix
36   other-modules:       Compat
37                        Capabilities
38   ghc-options:         -W
39
40 executable example
41   hs-source-dirs:      example
42   main-is:             Main.hs
43   default-language:    Haskell2010
44   build-depends:       base >= 4.7 && < 5
45                      , haskell-lsp-test
46                      , haskell-lsp-types
47                      , lens
48                      , text
49                      , directory
50
51 executable recorded-example
52   hs-source-dirs:      example
53   main-is:             Recorded.hs
54   default-language:    Haskell2010
55   build-depends:       base >= 4.7 && < 5
56                      , haskell-lsp-test
57                      , directory