2024-07-02 19:26:35 +03:00
|
|
|
cabal-version: 2.2
|
2020-05-23 00:02:27 +03:00
|
|
|
name: splint
|
2024-07-08 17:37:27 +03:00
|
|
|
version: 2.0.0.5
|
2020-05-24 15:22:13 +03:00
|
|
|
synopsis: HLint as a GHC source plugin.
|
|
|
|
description:
|
2024-07-08 17:33:11 +03:00
|
|
|
Warning: This package is not maintained anymore.
|
|
|
|
.
|
2022-06-20 04:00:33 +03:00
|
|
|
Splint makes HLint available as a GHC source plugin. To use it, pass
|
2020-05-24 15:22:13 +03:00
|
|
|
@-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.
|
|
|
|
|
2020-05-23 00:02:27 +03:00
|
|
|
build-type: Simple
|
|
|
|
category: Development
|
2024-07-02 16:43:27 +03:00
|
|
|
extra-doc-files: README.markdown
|
|
|
|
license-file: LICENSE.txt
|
2020-05-23 00:02:27 +03:00
|
|
|
license: ISC
|
|
|
|
maintainer: Taylor Fausak
|
|
|
|
|
2020-05-24 15:07:02 +03:00
|
|
|
source-repository head
|
|
|
|
location: https://github.com/tfausak/splint
|
|
|
|
type: git
|
|
|
|
|
2024-07-02 16:43:27 +03:00
|
|
|
flag pedantic
|
|
|
|
default: False
|
|
|
|
manual: True
|
|
|
|
|
2021-02-07 20:24:53 +03:00
|
|
|
library
|
|
|
|
build-depends:
|
2024-07-02 19:26:35 +03:00
|
|
|
base ^>=4.18.0.0 || ^>=4.19.0.0,
|
2024-07-02 16:43:27 +03:00
|
|
|
containers ^>=0.6.7,
|
2024-07-02 19:26:35 +03:00
|
|
|
ghc ^>=9.6.1 || ^>=9.8.1,
|
|
|
|
stm ^>=2.5.1.0,
|
2024-07-02 16:43:27 +03:00
|
|
|
|
2020-05-23 00:02:27 +03:00
|
|
|
default-language: Haskell2010
|
2024-07-02 16:43:27 +03:00
|
|
|
-- cabal-gild: discover source/library
|
2022-06-20 04:00:33 +03:00
|
|
|
exposed-modules:
|
|
|
|
Splint
|
|
|
|
Splint.RemoteData
|
2024-07-02 16:43:27 +03:00
|
|
|
Splint.Replacement
|
2022-06-20 04:00:33 +03:00
|
|
|
Splint.Settings
|
2024-07-02 16:43:27 +03:00
|
|
|
|
2020-05-23 00:02:27 +03:00
|
|
|
ghc-options:
|
|
|
|
-Weverything
|
2024-07-02 16:43:27 +03:00
|
|
|
-Wno-all-missed-specialisations
|
2020-05-23 00:02:27 +03:00
|
|
|
-Wno-implicit-prelude
|
2021-02-07 20:24:53 +03:00
|
|
|
-Wno-missing-deriving-strategies
|
2021-03-23 15:07:10 +03:00
|
|
|
-Wno-missing-export-lists
|
2020-05-26 03:31:29 +03:00
|
|
|
-Wno-missing-exported-signatures
|
2021-03-23 15:07:10 +03:00
|
|
|
-Wno-missing-import-lists
|
2024-07-02 16:43:27 +03:00
|
|
|
-Wno-missing-kind-signatures
|
2022-05-07 15:24:51 +03:00
|
|
|
-Wno-missing-safe-haskell-mode
|
|
|
|
-Wno-prepositive-qualified-module
|
2022-06-20 04:00:33 +03:00
|
|
|
-Wno-safe
|
2020-05-23 00:02:27 +03:00
|
|
|
-Wno-unsafe
|
2024-07-02 16:43:27 +03:00
|
|
|
|
|
|
|
hs-source-dirs: source/library
|
|
|
|
|
|
|
|
if flag(pedantic)
|
|
|
|
ghc-options: -Werror
|
2024-07-02 19:26:35 +03:00
|
|
|
|
|
|
|
if impl(ghc ^>=9.6.1)
|
|
|
|
build-depends: hlint ^>=3.6.1
|
|
|
|
elif impl(ghc ^>=9.8.1)
|
|
|
|
build-depends: hlint ^>=3.8
|
|
|
|
ghc-options: -Wno-missing-role-annotations
|