forked from haskell/haskell-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhls-hlint-plugin.cabal
72 lines (63 loc) · 1.64 KB
/
hls-hlint-plugin.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
cabal-version: 2.2
name: hls-hlint-plugin
version: 0.1.0.0
synopsis: Hlint integration plugin with Haskell Language Server
description: Please see Haskell Language Server Readme (https://github.com/haskell/haskell-language-server#readme)
license: Apache-2.0
license-file: LICENSE
author: The Haskell IDE Team
maintainer: [email protected]
copyright: The Haskell IDE Team
category: Development
build-type: Simple
flag pedantic
description: Enable -Werror
default: False
manual: True
flag ghc-lib
default: False
manual: True
description:
Force dependency on ghc-lib-parser even if GHC API in the ghc package is supported
library
exposed-modules: Ide.Plugin.Hlint
hs-source-dirs: src
build-depends:
, aeson
, apply-refact >=0.9
, base >=4.12 && <5
, binary
, bytestring
, containers
, data-default
, deepseq
, Diff
, directory
, extra
, filepath
, ghc-exactprint
, ghcide
, hashable
, haskell-lsp
, hlint >=3.2
, hls-plugin-api
, hslogger
, lens
, regex-tdfa
, shake
, temporary
, text
, transformers
, unordered-containers
if ((!flag(ghc-lib) && impl(ghc >=8.10.1)) && impl(ghc <8.11.0))
build-depends: ghc ^>= 8.10
else
build-depends:
, ghc
, ghc-lib ^>= 8.10.2.20200916
, ghc-lib-parser-ex ^>= 8.10
cpp-options: -DHLINT_ON_GHC_LIB
ghc-options: -Wall -Wredundant-constraints -Wno-name-shadowing
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010