forked from tfausak/splint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsplint.cabal
61 lines (55 loc) · 1.56 KB
/
splint.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
cabal-version: >= 1.10
name: splint
version: 1.0.2.2
synopsis: HLint as a GHC source plugin.
description:
Warning: This package is not maintained anymore.
.
Splint makes HLint available as a GHC source plugin. To use it, pass
@-fplugin=Splint@ to GHC. Any options passed to Splint are passed through to
HLint. For example you can use @-fplugin-opt=Splint:'--ignore=Use concatMap'@
to ignore the "Use @concatMap@" suggestion.
build-type: Simple
category: Development
extra-source-files: README.markdown
license-file: LICENSE.markdown
license: ISC
maintainer: Taylor Fausak
source-repository head
location: https://github.com/tfausak/splint
type: git
library
build-depends:
base >= 4.14 && < 4.17
, containers >= 0.6 && < 0.7
, ghc >= 8.10 && < 8.11 || >= 9.0 && < 9.3
, hlint
, stm >= 2.5 && < 2.6
default-language: Haskell2010
exposed-modules:
Splint
Splint.RemoteData
Splint.Settings
ghc-options:
-Weverything
-Wno-implicit-prelude
-Wno-missing-deriving-strategies
-Wno-missing-export-lists
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
-Wno-safe
-Wno-unsafe
hs-source-dirs: src/lib
if impl(ghc >= 9.2)
build-depends: hlint == 3.4
ghc-options: -Wno-missing-kind-signatures
hs-source-dirs: src/ghc-9.2
else
if impl(ghc >= 9.0)
build-depends: hlint >= 3.3 && < 3.4
hs-source-dirs: src/ghc-9.0
else
build-depends: hlint >= 3.2 && < 3.3
hs-source-dirs: src/ghc-8.10