-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMinImports.cabal
68 lines (61 loc) · 2.14 KB
/
MinImports.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
cabal-version: 2.4
name: minimports
version: 0.0.0.0
synopsis: See README for more info
description: See README for more info
homepage: https://github.com/jrp2014/MinImports
bug-reports: https://github.com/jrp2014/MinImports/issues
license: MIT
license-file: LICENSE
author: jrp2014
maintainer: jrp2014 <jrp2014@users.noreply.github.com>
copyright: 2020 jrp2014
category: Source Plugin
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 8.8.3
source-repository head
type: git
location: https://github.com/jrp2014/MinImports.git
common common-options
build-depends: base ^>= 4.13.0.0
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: MinImportsPlugin
build-depends: ghc == 8.8.3
executable minimports
import: common-options
hs-source-dirs: app
main-is: Main.hs
build-depends: minimports
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
-fplugin=MinImportsPlugin
test-suite minimports-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: minimports
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
-fplugin=MinImportsPlugin