Skip to content

Commit 7bda10f

Browse files
committed
Format .cabal files with cabal-gild
1 parent a1fe52f commit 7bda10f

File tree

6 files changed

+1782
-1678
lines changed

6 files changed

+1782
-1678
lines changed

ghcide/ghcide.cabal

Lines changed: 119 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
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.
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.
1313
homepage:
1414
https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
1515

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
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
1818
extra-source-files:
1919
CHANGELOG.md
2020
README.md
@@ -25,13 +25,13 @@ extra-source-files:
2525
test/data/**/*.yaml
2626

2727
source-repository head
28-
type: git
28+
type: git
2929
location: https://github.com/haskell/haskell-language-server.git
3030

3131
flag pedantic
3232
description: Enable -Werror
33-
default: False
34-
manual: True
33+
default: False
34+
manual: True
3535

3636
common warnings
3737
ghc-options:
@@ -45,77 +45,76 @@ common warnings
4545

4646
library
4747
import: warnings
48-
default-language: GHC2021
48+
default-language: GHC2021
4949
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
50+
Diff ^>=0.4.0,
51+
Glob,
52+
aeson,
53+
array,
54+
async,
55+
base >=4.16 && <5,
56+
base16-bytestring >=0.1.1 && <1.1,
57+
binary,
58+
bytestring,
59+
case-insensitive,
60+
co-log-core,
61+
containers,
62+
cryptohash-sha1 >=0.11.100 && <0.12,
63+
data-default,
64+
deepseq,
65+
dependent-map,
66+
dependent-sum,
67+
directory,
68+
dlist,
69+
enummapset,
70+
exceptions,
71+
extra >=1.7.14,
72+
filepath,
73+
fingertree,
74+
focus >=1.0.3.2,
75+
ghc >=9.2,
76+
ghc-boot,
77+
ghc-boot-th,
78+
ghc-check >=0.5.0.8,
79+
ghc-paths,
80+
ghc-trace-events,
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,
115115

116116
if os(windows)
117117
build-depends: Win32
118-
119118
else
120119
build-depends: unix
121120

@@ -127,7 +126,10 @@ library
127126
RecordWildCards
128127
ViewPatterns
129128

130-
hs-source-dirs: src session-loader
129+
hs-source-dirs:
130+
src
131+
session-loader
132+
131133
exposed-modules:
132134
Control.Concurrent.Strict
133135
Development.IDE
@@ -142,15 +144,15 @@ library
142144
Development.IDE.Core.PositionMapping
143145
Development.IDE.Core.Preprocessor
144146
Development.IDE.Core.ProgressReporting
145-
Development.IDE.Core.Rules
146147
Development.IDE.Core.RuleTypes
148+
Development.IDE.Core.Rules
147149
Development.IDE.Core.Service
148150
Development.IDE.Core.Shake
149151
Development.IDE.Core.Tracing
150152
Development.IDE.Core.UseStale
151153
Development.IDE.GHC.Compat
152-
Development.IDE.GHC.Compat.Core
153154
Development.IDE.GHC.Compat.CmdLine
155+
Development.IDE.GHC.Compat.Core
154156
Development.IDE.GHC.Compat.Env
155157
Development.IDE.GHC.Compat.Iface
156158
Development.IDE.GHC.Compat.Logger
@@ -175,8 +177,8 @@ library
175177
Development.IDE.Monitoring.OpenTelemetry
176178
Development.IDE.Plugin
177179
Development.IDE.Plugin.Completions
178-
Development.IDE.Plugin.Completions.Types
179180
Development.IDE.Plugin.Completions.Logic
181+
Development.IDE.Plugin.Completions.Types
180182
Development.IDE.Plugin.HLS
181183
Development.IDE.Plugin.HLS.GhcIde
182184
Development.IDE.Plugin.Test
@@ -213,50 +215,52 @@ library
213215

214216
flag test-exe
215217
description: Build the ghcide-test-preprocessor executable
216-
default: True
218+
default: True
217219

218220
executable ghcide-test-preprocessor
219221
import: warnings
220-
default-language: GHC2021
221-
hs-source-dirs: test/preprocessor
222-
main-is: Main.hs
223-
build-depends: base >=4 && <5
222+
default-language: GHC2021
223+
hs-source-dirs: test/preprocessor
224+
main-is: Main.hs
225+
build-depends: base >=4 && <5
224226

225227
if !flag(test-exe)
226228
buildable: False
227229

228230
flag executable
229231
description: Build the ghcide executable
230-
default: True
232+
default: True
231233

232234
executable ghcide
233235
import: warnings
234-
default-language: GHC2021
235-
hs-source-dirs: exe
236-
ghc-options: -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T"
237-
236+
default-language: GHC2021
237+
hs-source-dirs: exe
238+
ghc-options:
239+
-threaded
240+
-rtsopts
241+
"-with-rtsopts=-I0 -A128M -T"
238242

239243
-- allow user RTS overrides
240244
-- disable idle GC
241245
-- increase nursery size
242246
-- Enable collection of heap statistics
243-
main-is: Main.hs
247+
main-is: Main.hs
244248
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
249+
base >=4.16 && <5,
250+
data-default,
251+
extra,
252+
ghcide,
253+
gitrev,
254+
hls-plugin-api,
255+
lsp,
256+
lsp-types,
257+
optparse-applicative,
254258

255259
other-modules:
256260
Arguments
257261
Paths_ghcide
258262

259-
autogen-modules: Paths_ghcide
263+
autogen-modules: Paths_ghcide
260264
default-extensions:
261265
LambdaCase
262266
OverloadedStrings
@@ -269,17 +273,16 @@ executable ghcide
269273
library ghcide-test-utils
270274
import: warnings
271275
visibility: public
272-
default-language: GHC2021
273-
276+
default-language: GHC2021
274277
hs-source-dirs: test/cabal
275278
exposed-modules:
276279
Development.IDE.Test.Runfiles
277280

278281
build-depends:
279-
base > 4.9 && < 5
282+
base >4.9 && <5
280283

281284
default-extensions:
282-
LambdaCase
283-
OverloadedStrings
284-
RecordWildCards
285-
ViewPatterns
285+
LambdaCase
286+
OverloadedStrings
287+
RecordWildCards
288+
ViewPatterns

0 commit comments

Comments
 (0)