Skip to content

Commit ade3516

Browse files
committed
Format cabal files using cabal gild 1.7.0.1
1 parent e7d0426 commit ade3516

4 files changed

Lines changed: 1616 additions & 1524 deletions

File tree

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: 111 additions & 107 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.13.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.13.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.14.1, 9.12.2, 9.10.3, 9.8.4, 9.6.7}
16+
bug-reports: https://github.com/haskell/haskell-language-server/issues
17+
tested-with: ghc =={9.6.7, 9.8.4, 9.10.3, 9.12.2, 9.14.1}
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,78 +40,77 @@ 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-
, edit-distance
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-
, Glob
75-
, haddock-library >=1.8 && <1.12
76-
, hashable
77-
, hie-bios ^>= 0.18.0
78-
, hiedb ^>= 0.8.0.0
79-
, hls-graph == 2.13.0.0
80-
, hls-plugin-api == 2.13.0.0
81-
, implicit-hie >= 0.1.4.0 && < 0.1.5
82-
, lens
83-
, lens-aeson
84-
, list-t
85-
, lsp ^>=2.8
86-
, lsp-types ^>=2.4
87-
, mtl
88-
, opentelemetry >=0.6.1
89-
, optparse-applicative
90-
, os-string
91-
, parallel
92-
, process
93-
, prettyprinter >=1.7
94-
, prettyprinter-ansi-terminal
95-
, random
96-
, regex-tdfa >=1.3.1.0
97-
, safe-exceptions
98-
, sorted-list
99-
, sqlite-simple
100-
, stm
101-
, stm-containers
102-
, syb
103-
, text
104-
, text-rope
105-
, time
106-
, transformers
107-
, unliftio >=0.2.6
108-
, unliftio-core
109-
, unordered-containers >=0.2.21
110-
, 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+
edit-distance,
65+
enummapset,
66+
exceptions,
67+
extra >=1.7.14,
68+
filepath,
69+
fingertree,
70+
focus >=1.0.3.2,
71+
ghc >=9.2,
72+
ghc-boot,
73+
ghc-boot-th,
74+
ghc-trace-events,
75+
haddock-library >=1.8 && <1.12,
76+
hashable,
77+
hie-bios ^>=0.18.0,
78+
hiedb ^>=0.8.0.0,
79+
hls-graph ==2.13.0.0,
80+
hls-plugin-api ==2.13.0.0,
81+
implicit-hie >=0.1.4.0 && <0.1.5,
82+
lens,
83+
lens-aeson,
84+
list-t,
85+
lsp ^>=2.8,
86+
lsp-types ^>=2.4,
87+
mtl,
88+
opentelemetry >=0.6.1,
89+
optparse-applicative,
90+
os-string,
91+
parallel,
92+
prettyprinter >=1.7,
93+
prettyprinter-ansi-terminal,
94+
process,
95+
random,
96+
regex-tdfa >=1.3.1.0,
97+
safe-exceptions,
98+
sorted-list,
99+
sqlite-simple,
100+
stm,
101+
stm-containers,
102+
syb,
103+
text,
104+
text-rope,
105+
time,
106+
transformers,
107+
unliftio >=0.2.6,
108+
unliftio-core,
109+
unordered-containers >=0.2.21,
110+
vector,
111111

112112
if os(windows)
113113
build-depends: Win32
114-
115114
else
116115
build-depends: unix
117116

@@ -123,7 +122,10 @@ library
123122
RecordWildCards
124123
ViewPatterns
125124

126-
hs-source-dirs: src session-loader
125+
hs-source-dirs:
126+
src
127+
session-loader
128+
127129
exposed-modules:
128130
Control.Concurrent.Strict
129131
Development.IDE
@@ -139,16 +141,16 @@ library
139141
Development.IDE.Core.PositionMapping
140142
Development.IDE.Core.Preprocessor
141143
Development.IDE.Core.ProgressReporting
142-
Development.IDE.Core.Rules
143144
Development.IDE.Core.RuleTypes
145+
Development.IDE.Core.Rules
144146
Development.IDE.Core.Service
145147
Development.IDE.Core.Shake
146148
Development.IDE.Core.Tracing
147149
Development.IDE.Core.UseStale
148150
Development.IDE.Core.WorkerThread
149151
Development.IDE.GHC.Compat
150-
Development.IDE.GHC.Compat.Core
151152
Development.IDE.GHC.Compat.CmdLine
153+
Development.IDE.GHC.Compat.Core
152154
Development.IDE.GHC.Compat.Driver
153155
Development.IDE.GHC.Compat.Env
154156
Development.IDE.GHC.Compat.Error
@@ -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
@@ -200,52 +202,54 @@ library
200202
Development.IDE.Types.Options
201203
Development.IDE.Types.Shake
202204
Generics.SYB.GHC
203-
Text.Fuzzy.Parallel
204205
Text.Fuzzy.Levenshtein
206+
Text.Fuzzy.Parallel
205207

206208
other-modules:
207209
Development.IDE.Core.FileExists
208210
Development.IDE.GHC.CPP
209211
Development.IDE.GHC.Warnings
210-
Development.IDE.Types.Action
211212
Development.IDE.Session.OrderedSet
213+
Development.IDE.Types.Action
212214

213215
if flag(pedantic)
214216
ghc-options:
215217
-Werror
216218

217219
flag executable
218220
description: Build the ghcide executable
219-
default: True
221+
default: True
220222

221223
executable ghcide
222224
import: warnings
223-
default-language: GHC2021
224-
hs-source-dirs: exe
225-
ghc-options: -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T"
226-
225+
default-language: GHC2021
226+
hs-source-dirs: exe
227+
ghc-options:
228+
-threaded
229+
-rtsopts
230+
"-with-rtsopts=-I0 -A128M -T"
227231

228232
-- allow user RTS overrides
229233
-- disable idle GC
230234
-- increase nursery size
231235
-- Enable collection of heap statistics
232-
main-is: Main.hs
236+
main-is: Main.hs
233237
build-depends:
234-
, base >=4.16 && <5
235-
, data-default
236-
, extra
237-
, ghcide
238-
, gitrev
239-
, hls-plugin-api
240-
, lsp
241-
, lsp-types
242-
, optparse-applicative
238+
base >=4.16 && <5,
239+
data-default,
240+
extra,
241+
ghcide,
242+
gitrev,
243+
hls-plugin-api,
244+
lsp,
245+
lsp-types,
246+
optparse-applicative,
243247

244248
other-modules:
245249
Arguments
246250
Paths_ghcide
247251

248-
autogen-modules: Paths_ghcide
252+
autogen-modules: Paths_ghcide
249253
default-extensions:
250254
LambdaCase
251255
OverloadedStrings

0 commit comments

Comments
 (0)