1
- cabal-version : 3.4
2
- build-type : Simple
3
- category : Development
4
- name : ghcide
5
- version : 2.8.0.0
6
- license : Apache-2.0
7
- license-file : LICENSE
8
- author : Digital Asset and Ghcide contributors
9
- maintainer : Ghcide contributors
10
- copyright : Digital Asset and Ghcide contributors 2018-2020
11
- synopsis : The core of an IDE
12
- description : A library for building Haskell IDE's on top of the GHC API.
13
- homepage :
14
- https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
15
-
16
- bug-reports : https://github.com/haskell/haskell-language-server/issues
17
- tested-with : GHC == 9.8.2 || == 9.6.5 || == 9.4.8 || == 9.2.8
1
+ cabal-version : 3.4
2
+ build-type : Simple
3
+ category : Development
4
+ name : ghcide
5
+ version : 2.8.0.0
6
+ license : Apache-2.0
7
+ license-file : LICENSE
8
+ author : Digital Asset and Ghcide contributors
9
+ maintainer : Ghcide contributors
10
+ copyright : Digital Asset and Ghcide contributors 2018-2020
11
+ synopsis : The core of an IDE
12
+ description : A library for building Haskell IDE's on top of the GHC API.
13
+ homepage : https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
14
+ bug-reports : https://github.com/haskell/haskell-language-server/issues
15
+ tested-with : ghc == 9.8.2 || == 9.6.5 || == 9.4.8 || == 9.2.8
18
16
extra-source-files :
19
17
CHANGELOG.md
20
18
README.md
@@ -25,13 +23,13 @@ extra-source-files:
25
23
test/data/**/*.yaml
26
24
27
25
source-repository head
28
- type : git
26
+ type : git
29
27
location : https://github.com/haskell/haskell-language-server.git
30
28
31
29
flag pedantic
32
30
description : Enable -Werror
33
- default : False
34
- manual : True
31
+ default : False
32
+ manual : True
35
33
36
34
common warnings
37
35
ghc-options :
@@ -45,77 +43,76 @@ common warnings
45
43
46
44
library
47
45
import : warnings
48
- default-language : GHC2021
46
+ default-language : GHC2021
49
47
build-depends :
50
- , aeson
51
- , array
52
- , async
53
- , base >= 4.16 && < 5
54
- , base16-bytestring >= 0.1.1 && < 1.1
55
- , binary
56
- , bytestring
57
- , case-insensitive
58
- , co-log-core
59
- , containers
60
- , cryptohash-sha1 >= 0.11.100 && < 0.12
61
- , data-default
62
- , deepseq
63
- , dependent-map
64
- , dependent-sum
65
- , Diff ^ >= 0.4.0
66
- , directory
67
- , dlist
68
- , enummapset
69
- , exceptions
70
- , extra >= 1.7.14
71
- , filepath
72
- , fingertree
73
- , focus >= 1.0.3.2
74
- , ghc >= 9.2
75
- , ghc-boot
76
- , ghc-boot-th
77
- , ghc-check >= 0.5.0.8
78
- , ghc-paths
79
- , ghc-trace-events
80
- , Glob
81
- , haddock-library >= 1.8 && < 1.12
82
- , hashable
83
- , hie-bios ^>= 0.14.0
84
- , hie-compat ^>= 0.3.0.0
85
- , hiedb ^>= 0.6.0.0
86
- , hls-graph == 2.8.0.0
87
- , hls-plugin-api == 2.8.0.0
88
- , implicit-hie >= 0.1.4.0 && < 0.1.5
89
- , lens
90
- , list-t
91
- , lsp ^>= 2.5.0.0
92
- , lsp-types ^>= 2.2.0.0
93
- , mtl
94
- , opentelemetry >= 0.6.1
95
- , optparse-applicative
96
- , parallel
97
- , prettyprinter >= 1.7
98
- , prettyprinter-ansi-terminal
99
- , random
100
- , regex-tdfa >= 1.3.1.0
101
- , safe-exceptions
102
- , sorted-list
103
- , sqlite-simple
104
- , stm
105
- , stm-containers
106
- , syb
107
- , text
108
- , text-rope
109
- , time
110
- , transformers
111
- , unliftio >= 0.2.6
112
- , unliftio-core
113
- , unordered-containers >= 0.2.10.0
114
- , vector
48
+ Diff ^ >= 0.4.0 ,
49
+ Glob,
50
+ aeson,
51
+ array,
52
+ async,
53
+ base >= 4.16 && < 5 ,
54
+ base16- bytestring >= 0.1.1 && < 1.1 ,
55
+ binary,
56
+ bytestring,
57
+ case-insensitive,
58
+ co-log-core,
59
+ containers,
60
+ cryptohash-sha1 >= 0.11.100 && < 0.12 ,
61
+ data-default,
62
+ deepseq,
63
+ dependent-map,
64
+ dependent-sum,
65
+ directory,
66
+ dlist,
67
+ enummapset,
68
+ exceptions,
69
+ extra >= 1.7.14 ,
70
+ filepath,
71
+ fingertree,
72
+ focus >= 1.0.3.2 ,
73
+ ghc >= 9.2 ,
74
+ ghc-boot,
75
+ ghc-boot-th,
76
+ ghc-check >= 0.5.0.8 ,
77
+ ghc-paths,
78
+ ghc-trace-events,
79
+ haddock-library >= 1.8 && < 1.12 ,
80
+ hashable,
81
+ hie-bios ^>= 0.14.0 ,
82
+ hie-compat ^>= 0.3.0.0 ,
83
+ hiedb ^>= 0.6.0.0 ,
84
+ hls-graph == 2.8.0.0 ,
85
+ hls-plugin-api == 2.8.0.0 ,
86
+ implicit-hie >= 0.1.4.0 && < 0.1.5 ,
87
+ lens,
88
+ list-t,
89
+ lsp ^>= 2.5.0.0 ,
90
+ lsp-types ^>= 2.2.0.0 ,
91
+ mtl,
92
+ opentelemetry >= 0.6.1 ,
93
+ optparse-applicative,
94
+ parallel,
95
+ prettyprinter >= 1.7 ,
96
+ prettyprinter-ansi-terminal,
97
+ random,
98
+ regex-tdfa >= 1.3.1.0 ,
99
+ safe-exceptions,
100
+ sorted-list,
101
+ sqlite-simple,
102
+ stm,
103
+ stm-containers,
104
+ syb,
105
+ text,
106
+ text-rope,
107
+ time,
108
+ transformers,
109
+ unliftio >= 0.2.6 ,
110
+ unliftio-core,
111
+ unordered-containers >= 0.2.10.0 ,
112
+ vector,
115
113
116
114
if os(windows)
117
115
build-depends : Win32
118
-
119
116
else
120
117
build-depends : unix
121
118
@@ -127,7 +124,10 @@ library
127
124
RecordWildCards
128
125
ViewPatterns
129
126
130
- hs-source-dirs : src session-loader
127
+ hs-source-dirs :
128
+ src
129
+ session-loader
130
+
131
131
exposed-modules :
132
132
Control.Concurrent.Strict
133
133
Development.IDE
@@ -142,15 +142,15 @@ library
142
142
Development.IDE.Core.PositionMapping
143
143
Development.IDE.Core.Preprocessor
144
144
Development.IDE.Core.ProgressReporting
145
- Development.IDE.Core.Rules
146
145
Development.IDE.Core.RuleTypes
146
+ Development.IDE.Core.Rules
147
147
Development.IDE.Core.Service
148
148
Development.IDE.Core.Shake
149
149
Development.IDE.Core.Tracing
150
150
Development.IDE.Core.UseStale
151
151
Development.IDE.GHC.Compat
152
- Development.IDE.GHC.Compat.Core
153
152
Development.IDE.GHC.Compat.CmdLine
153
+ Development.IDE.GHC.Compat.Core
154
154
Development.IDE.GHC.Compat.Env
155
155
Development.IDE.GHC.Compat.Iface
156
156
Development.IDE.GHC.Compat.Logger
@@ -175,8 +175,8 @@ library
175
175
Development.IDE.Monitoring.OpenTelemetry
176
176
Development.IDE.Plugin
177
177
Development.IDE.Plugin.Completions
178
- Development.IDE.Plugin.Completions.Types
179
178
Development.IDE.Plugin.Completions.Logic
179
+ Development.IDE.Plugin.Completions.Types
180
180
Development.IDE.Plugin.HLS
181
181
Development.IDE.Plugin.HLS.GhcIde
182
182
Development.IDE.Plugin.Test
@@ -208,55 +208,56 @@ library
208
208
Development.IDE.Types.Action
209
209
210
210
if flag(pedantic)
211
- ghc-options :
212
- -Werror
211
+ ghc-options : -Werror
213
212
214
213
flag test-exe
215
214
description : Build the ghcide-test-preprocessor executable
216
- default : True
215
+ default : True
217
216
218
217
executable ghcide-test-preprocessor
219
218
import : warnings
220
- default-language : GHC2021
221
- hs-source-dirs : test/preprocessor
222
- main-is : Main.hs
223
- build-depends : base >= 4 && < 5
219
+ default-language : GHC2021
220
+ hs-source-dirs : test/preprocessor
221
+ main-is : Main.hs
222
+ build-depends : base >= 4 && < 5
224
223
225
224
if !flag(test-exe)
226
225
buildable : False
227
226
228
227
flag executable
229
228
description : Build the ghcide executable
230
- default : True
229
+ default : True
231
230
232
231
executable ghcide
233
232
import : warnings
234
- default-language : GHC2021
235
- hs-source-dirs : exe
236
- ghc-options : -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T"
237
-
233
+ default-language : GHC2021
234
+ hs-source-dirs : exe
235
+ ghc-options :
236
+ -threaded
237
+ -rtsopts
238
+ "-with-rtsopts=-I0 -A128M -T"
238
239
239
240
-- allow user RTS overrides
240
241
-- disable idle GC
241
242
-- increase nursery size
242
243
-- Enable collection of heap statistics
243
- main-is : Main.hs
244
+ main-is : Main.hs
244
245
build-depends :
245
- , base >= 4.16 && < 5
246
- , data-default
247
- , extra
248
- , ghcide
249
- , gitrev
250
- , hls-plugin-api
251
- , lsp
252
- , lsp-types
253
- , optparse-applicative
246
+ base >= 4.16 && < 5 ,
247
+ data-default,
248
+ extra,
249
+ ghcide,
250
+ gitrev,
251
+ hls-plugin-api,
252
+ lsp,
253
+ lsp-types,
254
+ optparse-applicative,
254
255
255
256
other-modules :
256
257
Arguments
257
258
Paths_ghcide
258
259
259
- autogen-modules : Paths_ghcide
260
+ autogen-modules : Paths_ghcide
260
261
default-extensions :
261
262
LambdaCase
262
263
OverloadedStrings
@@ -269,17 +270,12 @@ executable ghcide
269
270
library ghcide-test-utils
270
271
import : warnings
271
272
visibility : public
272
- default-language : GHC2021
273
-
273
+ default-language : GHC2021
274
274
hs-source-dirs : test/cabal
275
- exposed-modules :
276
- Development.IDE.Test.Runfiles
277
-
278
- build-depends :
279
- base > 4.9 && < 5
280
-
275
+ exposed-modules : Development.IDE.Test.Runfiles
276
+ build-depends : base > 4.9 && < 5
281
277
default-extensions :
282
- LambdaCase
283
- OverloadedStrings
284
- RecordWildCards
285
- ViewPatterns
278
+ LambdaCase
279
+ OverloadedStrings
280
+ RecordWildCards
281
+ ViewPatterns
0 commit comments