-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathhlint.cabal
162 lines (149 loc) · 3.69 KB
/
hlint.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
cabal-version: >= 1.18
build-type: Simple
name: hlint
version: 3.1
license: BSD3
license-file: LICENSE
category: Development
author: Neil Mitchell <ndmitchell@gmail.com>
maintainer: Neil Mitchell <ndmitchell@gmail.com>
copyright: Neil Mitchell 2006-2020
synopsis: Source code suggestions
description:
HLint gives suggestions on how to improve your source code.
homepage: https://github.com/ndmitchell/hlint#readme
bug-reports: https://github.com/ndmitchell/hlint/issues
data-dir: data
data-files:
hlint.yaml
default.yaml
Test.hs
report_template.html
hs-lint.el
hlint.1
hlint.ghci
HLint_QuickCheck.hs
HLint_TypeCheck.hs
extra-doc-files:
README.md
CHANGES.txt
tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5
source-repository head
type: git
location: https://github.com/ndmitchell/hlint.git
flag threaded
default: True
manual: True
description: Build with support for multithreaded execution
flag gpl
default: True
manual: True
description: Use GPL libraries, specifically hscolour
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
default-language: Haskell2010
build-depends:
base == 4.*, process, filepath, directory, containers,
unordered-containers, vector, text, bytestring,
transformers,
file-embed,
utf8-string,
data-default >= 0.3,
cpphs >= 1.20.1,
cmdargs >= 0.10,
yaml >= 0.5.0,
uniplate >= 1.5,
ansi-terminal >= 0.6.2,
extra >= 1.7.1,
refact >= 0.3,
aeson >= 1.1.2.0,
filepattern >= 0.1.1
if !flag(ghc-lib) && impl(ghc >= 8.10.0) && impl(ghc < 8.11.0)
build-depends:
ghc == 8.10.*,
ghc-boot-th,
ghc-boot
else
build-depends:
ghc-lib-parser == 8.10.*
build-depends:
ghc-lib-parser-ex >= 8.10.0.6 && < 8.10.1
if flag(gpl)
build-depends: hscolour >= 1.21
else
cpp-options: -DGPL_SCARES_ME
hs-source-dirs: src
exposed-modules:
Language.Haskell.HLint
other-modules:
Paths_hlint
Apply
CmdLine
Grep
Extension
Fixity
HLint
HsColour
Idea
Report
Util
Parallel
Refact
Timing
CC
EmbedData
Config.Compute
Config.Haskell
Config.Read
Config.Type
Config.Yaml
GHC.Util
GHC.Util.ApiAnnotation
GHC.Util.View
GHC.Util.Brackets
GHC.Util.FreeVars
GHC.Util.HsDecl
GHC.Util.HsExpr
GHC.Util.Module
GHC.Util.SrcLoc
GHC.Util.DynFlags
GHC.Util.RdrName
GHC.Util.Scope
GHC.Util.Unify
HSE.All
Hint.All
Hint.Bracket
Hint.Comment
Hint.Duplicate
Hint.Export
Hint.Extensions
Hint.Import
Hint.Lambda
Hint.List
Hint.ListRec
Hint.Match
Hint.Monad
Hint.Naming
Hint.NewType
Hint.Pattern
Hint.Pragma
Hint.Restrict
Hint.Smell
Hint.Type
Hint.Unsafe
Test.All
Test.Annotations
Test.InputOutput
Test.Proof
Test.Translate
Test.Util
executable hlint
default-language: Haskell2010
build-depends: base, hlint
main-is: src/Main.hs
ghc-options: -rtsopts
if flag(threaded)
ghc-options: -threaded