44c0487989b04b57bb5f368e977bf5754df0c089
[lsp-test.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   default-language:    Haskell2010
20   build-depends:       base >= 4.7 && < 5
21                      , haskell-lsp-client
22                      , haskell-lsp-types
23                      , lens
24                      , text
25                      , transformers
26                      , process
27   if os(windows)
28     build-depends:     win32
29   else
30     build-depends:     unix
31   other-modules:       Compat
32                        Capabilities
33   ghc-options:         -W
34
35 executable example
36   hs-source-dirs:      example
37   main-is:             Main.hs
38   default-language:    Haskell2010
39   build-depends:       base >= 4.7 && < 5
40                      , haskell-lsp-test
41                      , haskell-lsp-types
42                      , lens
43                      , text
44                      , directory