1cabal-version: 2.4
2name:          hls-test-utils
3version:       1.1.0.0
4synopsis:      Utilities used in the tests of Haskell Language Server
5description:
6  Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
7
8homepage:      https://github.com/haskell/haskell-language-server#readme
9bug-reports:   https://github.com/haskell/haskell-language-server/issues
10license:       Apache-2.0
11license-file:  LICENSE
12author:        The Haskell IDE Team
13maintainer:    alan.zimm@gmail.com
14copyright:     The Haskell IDE Team
15category:      Development
16build-type:    Simple
17
18flag pedantic
19  description: Enable -Werror
20  default:     False
21  manual:      True
22
23source-repository head
24  type:     git
25  location: https://github.com/haskell/haskell-language-server
26
27library
28  exposed-modules:
29    Test.Hls
30    Test.Hls.Util
31
32  hs-source-dirs:   src
33  build-depends:
34    , aeson
35    , async
36    , base                    >=4.12 && <5
37    , blaze-markup
38    , bytestring
39    , containers
40    , data-default
41    , directory
42    , extra
43    , filepath
44    , ghcide                  ^>=1.4
45    , hls-graph
46    , hls-plugin-api          ^>=1.2
47    , hspec                   <2.8
48    , hspec-core
49    , lens
50    , lsp                     ^>=1.2
51    , lsp-test                ^>=0.14
52    , lsp-types               >=1.2  && <1.4
53    , tasty
54    , tasty-expected-failure
55    , tasty-golden
56    , tasty-hunit
57    , tasty-rerun
58    , temporary
59    , text
60    , unordered-containers
61
62  ghc-options:      -Wall
63
64  if flag(pedantic)
65    ghc-options: -Werror
66
67  default-language: Haskell2010
68