-
Notifications
You must be signed in to change notification settings - Fork 29
/
apply-refact.cabal
198 lines (177 loc) · 4.2 KB
/
apply-refact.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
cabal-version: 3.0
name: apply-refact
version: 0.14.0.0
synopsis: Perform refactorings specified by the refact library.
description:
Perform refactorings specified by the refact library. It is primarily used with HLint's --refactor flag.
license: BSD-3-Clause
license-file: LICENSE
author: Matthew Pickering
maintainer: matthewtpickering@gmail.com
-- copyright:
category: Development
homepage: https://github.com/mpickering/apply-refact
bug-reports: https://github.com/mpickering/apply-refact/issues
build-type: Simple
extra-source-files:
CHANGELOG
README.md
tests/examples/*.hs
tests/examples/*.hs.expected
tests/examples/*.hs.refact
tested-with: GHC ==9.2.8 || ==9.4.6 || ==9.6.3 || ==9.8.1
source-repository head
type: git
location: https://github.com/mpickering/apply-refact.git
library
exposed-modules:
Refact.Apply
Refact.Compat
Refact.Fixity
Refact.Internal
Refact.Utils
ghc-options: -Wall
build-depends:
, base >=4.16 && <5
, containers >=0.6.0.1 && <0.8
, data-default
, directory >=1.3
, extra >=1.7.3
, filemanip >=0.3.6.3 && <0.4
, ghc-boot-th
, ghc-exactprint ^>=1.5.0 || ^>=1.6.0 || ^>=1.7.0 || ^>=1.8.0
, process >=1.6
, refact >=0.2
, syb >=0.7.1
, transformers >=0.5.6.2 && <0.7
, uniplate >=1.6.13
, unix-compat >=0.5.2
if (impl(ghc >=9.8) && impl(ghc <9.9))
build-depends: ghc ^>=9.8
if (impl(ghc >=9.6) && impl(ghc <9.7))
build-depends: ghc ^>=9.6
if (impl(ghc >=9.4) && impl(ghc <9.5))
build-depends: ghc ^>=9.4
if (impl(ghc >=9.2) && impl(ghc <9.3))
build-depends: ghc ^>=9.2
if impl(ghc <9.10)
build-depends: data-default-class
default-extensions:
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
PolyKinds
RankNTypes
ScopedTypeVariables
TupleSections
TypeApplications
TypeOperators
hs-source-dirs: src
default-language: Haskell2010
executable refactor
main-is: Main.hs
other-modules:
Paths_apply_refact
Refact.Apply
Refact.Compat
Refact.Fixity
Refact.Internal
Refact.Options
Refact.Run
Refact.Utils
autogen-modules: Paths_apply_refact
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind
build-depends:
, base
, containers
, data-default
, directory
, extra
, filemanip
, filepath
, ghc
, ghc-boot-th
, ghc-exactprint
, ghc-paths
, optparse-applicative >=0.15.1.0
, process
, refact
, syb
, transformers
, uniplate
, unix-compat
if impl(ghc <9.10)
build-depends: data-default-class
default-extensions:
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
PolyKinds
RankNTypes
ScopedTypeVariables
TupleSections
TypeApplications
TypeOperators
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: tests src
main-is: Test.hs
other-modules:
Paths_apply_refact
Refact.Apply
Refact.Compat
Refact.Fixity
Refact.Internal
Refact.Options
Refact.Run
Refact.Utils
ghc-options: -threaded
default-language: Haskell2010
build-depends:
, base
, containers
, directory
, extra
, filemanip
, filepath
, ghc
, ghc-boot-th
, ghc-exactprint
, ghc-paths
, optparse-applicative
, process
, refact
, silently
, syb
, tasty
, tasty-expected-failure
, tasty-golden
, transformers
, uniplate
, unix-compat
if impl(ghc <9.10)
build-depends: data-default-class
default-extensions:
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
PolyKinds
RankNTypes
ScopedTypeVariables
TupleSections
TypeApplications
TypeOperators