-
Notifications
You must be signed in to change notification settings - Fork 0
/
imp.cabal
100 lines (90 loc) · 2.21 KB
/
imp.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
cabal-version: 2.2
name: imp
version: 1.0.2.1
synopsis: A GHC plugin for automatically importing modules.
description: Imp is a GHC plugin for automatically importing modules.
category: Plugin
maintainer: Taylor Fausak
license: MIT
license-file: LICENSE.txt
extra-doc-files:
CHANGELOG.md
README.md
source-repository head
location: https://github.com/tfausak/imp
type: git
flag pedantic
default: False
manual: True
common library
build-depends: base ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0.0
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missed-specialisations
-Wno-missing-deriving-strategies
-Wno-missing-export-lists
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
-Wno-safe
-Wno-unsafe
common executable
import: library
build-depends: imp
ghc-options:
-rtsopts
-threaded
library
import: library
autogen-modules: Paths_imp
build-depends:
Cabal-syntax ^>=3.10.1.0 || ^>=3.12.0.0,
containers ^>=0.6.7 || ^>=0.7,
exceptions ^>=0.10.5,
ghc ^>=9.6.1 || ^>=9.8.1 || ^>=9.10.1,
transformers ^>=0.6.1,
-- cabal-gild: discover source/library
exposed-modules:
Imp
Imp.Exception.InvalidAlias
Imp.Exception.InvalidModuleName
Imp.Exception.InvalidOption
Imp.Exception.InvalidPackage
Imp.Exception.InvalidPackageName
Imp.Exception.ShowHelp
Imp.Exception.ShowVersion
Imp.Exception.UnexpectedArgument
Imp.Exception.UnknownOption
Imp.Extra.Exception
Imp.Extra.HsModule
Imp.Extra.HsParsedModule
Imp.Extra.ImportDecl
Imp.Extra.Located
Imp.Extra.ModuleName
Imp.Extra.ParsedResult
Imp.Extra.ReadP
Imp.Extra.SrcSpanAnnN
Imp.Type.Alias
Imp.Type.Config
Imp.Type.Context
Imp.Type.Flag
Imp.Type.Package
Imp.Type.PackageName
Imp.Type.Source
Imp.Type.Target
hs-source-dirs: source/library
other-modules: Paths_imp
if flag(pedantic)
ghc-options: -Werror
test-suite imp-test-suite
import: executable
build-depends:
exceptions,
ghc,
hspec ^>=2.11.8,
hs-source-dirs: source/test-suite
main-is: Main.hs
type: exitcode-stdio-1.0