Skip to content

Commit cefc2d9

Browse files
committed
Format cabal files using cabal gild 1.5.0.1
1 parent 8aeda29 commit cefc2d9

File tree

4 files changed

+1608
-1516
lines changed

4 files changed

+1608
-1516
lines changed

.github/generate-ci/generate-ci.cabal

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
cabal-version: 3.0
2-
name: generate-ci
3-
version: 0.1.0.0
4-
license: Apache-2.0
5-
license-file: LICENSE
6-
build-type: Simple
1+
cabal-version: 3.0
2+
name: generate-ci
3+
version: 0.1.0.0
4+
license: Apache-2.0
5+
license-file: LICENSE
6+
build-type: Simple
77

88
executable generate-ci
9-
main-is: gen_ci.hs
10-
ghc-options: -Wall
11-
build-depends: base,
12-
bytestring,
13-
containers,
14-
directory,
15-
filepath,
16-
aeson,
17-
yaml >= 0.11.11.2
18-
default-language: Haskell2010
9+
main-is: gen_ci.hs
10+
ghc-options: -Wall
11+
build-depends:
12+
aeson,
13+
base,
14+
bytestring,
15+
containers,
16+
directory,
17+
filepath,
18+
yaml >=0.11.11.2,
19+
20+
default-language: Haskell2010

ghcide/ghcide.cabal

Lines changed: 108 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
cabal-version: 3.4
2-
build-type: Simple
3-
category: Development
4-
name: ghcide
5-
version: 2.11.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.11.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.12.2, 9.10.1, 9.8.4, 9.6.7}
16+
bug-reports: https://github.com/haskell/haskell-language-server/issues
17+
tested-with: ghc ==9.12.2 || ==9.10.1 || ==9.8.4 || ==9.6.7
1818
extra-source-files:
1919
CHANGELOG.md
2020
README.md
2121

2222
source-repository head
23-
type: git
23+
type: git
2424
location: https://github.com/haskell/haskell-language-server.git
2525

2626
flag pedantic
2727
description: Enable -Werror
28-
default: False
29-
manual: True
28+
default: False
29+
manual: True
3030

3131
common warnings
3232
ghc-options:
@@ -40,77 +40,76 @@ common warnings
4040

4141
library
4242
import: warnings
43-
default-language: GHC2021
43+
default-language: GHC2021
4444
build-depends:
45-
, aeson
46-
, array
47-
, async
48-
, base >=4.16 && <5
49-
, base16-bytestring >=0.1.1 && <1.1
50-
, binary
51-
, bytestring
52-
, case-insensitive
53-
, co-log-core
54-
, containers
55-
, cryptohash-sha1 >=0.11.100 && <0.12
56-
, data-default
57-
, deepseq
58-
, dependent-map
59-
, dependent-sum
60-
, Diff ^>=0.5 || ^>=1.0.0
61-
, directory
62-
, dlist
63-
, enummapset
64-
, exceptions
65-
, extra >=1.7.14
66-
, filepath
67-
, fingertree
68-
, focus >=1.0.3.2
69-
, ghc >=9.2
70-
, ghc-boot
71-
, ghc-boot-th
72-
, ghc-trace-events
73-
, Glob
74-
, haddock-library >=1.8 && <1.12
75-
, hashable
76-
, hie-bios ^>=0.15.0
77-
, hie-compat ^>=0.3.0.0
78-
, hiedb ^>= 0.6.0.2
79-
, hls-graph == 2.11.0.0
80-
, hls-plugin-api == 2.11.0.0
81-
, implicit-hie >= 0.1.4.0 && < 0.1.5
82-
, lens
83-
, lens-aeson
84-
, list-t
85-
, lsp ^>=2.7
86-
, lsp-types ^>=2.3
87-
, mtl
88-
, opentelemetry >=0.6.1
89-
, optparse-applicative
90-
, os-string
91-
, parallel
92-
, prettyprinter >=1.7
93-
, prettyprinter-ansi-terminal
94-
, random
95-
, regex-tdfa >=1.3.1.0
96-
, safe-exceptions
97-
, sorted-list
98-
, sqlite-simple
99-
, stm
100-
, stm-containers
101-
, syb
102-
, text
103-
, text-rope
104-
, time
105-
, transformers
106-
, unliftio >=0.2.6
107-
, unliftio-core
108-
, unordered-containers >=0.2.10.0
109-
, vector
45+
Diff ^>=0.5 || ^>=1.0.0,
46+
Glob,
47+
aeson,
48+
array,
49+
async,
50+
base >=4.16 && <5,
51+
base16-bytestring >=0.1.1 && <1.1,
52+
binary,
53+
bytestring,
54+
case-insensitive,
55+
co-log-core,
56+
containers,
57+
cryptohash-sha1 >=0.11.100 && <0.12,
58+
data-default,
59+
deepseq,
60+
dependent-map,
61+
dependent-sum,
62+
directory,
63+
dlist,
64+
enummapset,
65+
exceptions,
66+
extra >=1.7.14,
67+
filepath,
68+
fingertree,
69+
focus >=1.0.3.2,
70+
ghc >=9.2,
71+
ghc-boot,
72+
ghc-boot-th,
73+
ghc-trace-events,
74+
haddock-library >=1.8 && <1.12,
75+
hashable,
76+
hie-bios ^>=0.15.0,
77+
hie-compat ^>=0.3.0.0,
78+
hiedb ^>=0.6.0.2,
79+
hls-graph ==2.11.0.0,
80+
hls-plugin-api ==2.11.0.0,
81+
implicit-hie >=0.1.4.0 && <0.1.5,
82+
lens,
83+
lens-aeson,
84+
list-t,
85+
lsp ^>=2.7,
86+
lsp-types ^>=2.3,
87+
mtl,
88+
opentelemetry >=0.6.1,
89+
optparse-applicative,
90+
os-string,
91+
parallel,
92+
prettyprinter >=1.7,
93+
prettyprinter-ansi-terminal,
94+
random,
95+
regex-tdfa >=1.3.1.0,
96+
safe-exceptions,
97+
sorted-list,
98+
sqlite-simple,
99+
stm,
100+
stm-containers,
101+
syb,
102+
text,
103+
text-rope,
104+
time,
105+
transformers,
106+
unliftio >=0.2.6,
107+
unliftio-core,
108+
unordered-containers >=0.2.10.0,
109+
vector,
110110

111111
if os(windows)
112112
build-depends: Win32
113-
114113
else
115114
build-depends: unix
116115

@@ -122,7 +121,10 @@ library
122121
RecordWildCards
123122
ViewPatterns
124123

125-
hs-source-dirs: src session-loader
124+
hs-source-dirs:
125+
src
126+
session-loader
127+
126128
exposed-modules:
127129
Control.Concurrent.Strict
128130
Development.IDE
@@ -137,16 +139,16 @@ library
137139
Development.IDE.Core.PositionMapping
138140
Development.IDE.Core.Preprocessor
139141
Development.IDE.Core.ProgressReporting
140-
Development.IDE.Core.Rules
141142
Development.IDE.Core.RuleTypes
143+
Development.IDE.Core.Rules
142144
Development.IDE.Core.Service
143145
Development.IDE.Core.Shake
144146
Development.IDE.Core.Tracing
145147
Development.IDE.Core.UseStale
146148
Development.IDE.Core.WorkerThread
147149
Development.IDE.GHC.Compat
148-
Development.IDE.GHC.Compat.Core
149150
Development.IDE.GHC.Compat.CmdLine
151+
Development.IDE.GHC.Compat.Core
150152
Development.IDE.GHC.Compat.Driver
151153
Development.IDE.GHC.Compat.Env
152154
Development.IDE.GHC.Compat.Error
@@ -173,8 +175,8 @@ library
173175
Development.IDE.Monitoring.OpenTelemetry
174176
Development.IDE.Plugin
175177
Development.IDE.Plugin.Completions
176-
Development.IDE.Plugin.Completions.Types
177178
Development.IDE.Plugin.Completions.Logic
179+
Development.IDE.Plugin.Completions.Types
178180
Development.IDE.Plugin.HLS
179181
Development.IDE.Plugin.HLS.GhcIde
180182
Development.IDE.Plugin.Test
@@ -210,36 +212,38 @@ library
210212

211213
flag executable
212214
description: Build the ghcide executable
213-
default: True
215+
default: True
214216

215217
executable ghcide
216218
import: warnings
217-
default-language: GHC2021
218-
hs-source-dirs: exe
219-
ghc-options: -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T"
220-
219+
default-language: GHC2021
220+
hs-source-dirs: exe
221+
ghc-options:
222+
-threaded
223+
-rtsopts
224+
"-with-rtsopts=-I0 -A128M -T"
221225

222226
-- allow user RTS overrides
223227
-- disable idle GC
224228
-- increase nursery size
225229
-- Enable collection of heap statistics
226-
main-is: Main.hs
230+
main-is: Main.hs
227231
build-depends:
228-
, base >=4.16 && <5
229-
, data-default
230-
, extra
231-
, ghcide
232-
, gitrev
233-
, hls-plugin-api
234-
, lsp
235-
, lsp-types
236-
, optparse-applicative
232+
base >=4.16 && <5,
233+
data-default,
234+
extra,
235+
ghcide,
236+
gitrev,
237+
hls-plugin-api,
238+
lsp,
239+
lsp-types,
240+
optparse-applicative,
237241

238242
other-modules:
239243
Arguments
240244
Paths_ghcide
241245

242-
autogen-modules: Paths_ghcide
246+
autogen-modules: Paths_ghcide
243247
default-extensions:
244248
LambdaCase
245249
OverloadedStrings

0 commit comments

Comments
 (0)