Skip to content

Commit c37cf33

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

4 files changed

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

1616
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}
17+
tested-with:
18+
GHC ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2 || ==9.14.1
19+
1820
extra-source-files:
1921
CHANGELOG.md
2022
README.md
@@ -30,16 +32,12 @@ flag pedantic
3032

3133
common warnings
3234
ghc-options:
33-
-Werror=incomplete-patterns
34-
-Wall
35-
-Wincomplete-uni-patterns
36-
-Wunused-packages
37-
-Wno-name-shadowing
38-
-Wno-unticked-promoted-constructors
39-
-fno-ignore-asserts
35+
-Werror=incomplete-patterns -Wall -Wincomplete-uni-patterns
36+
-Wunused-packages -Wno-name-shadowing
37+
-Wno-unticked-promoted-constructors -fno-ignore-asserts
4038

4139
library
42-
import: warnings
40+
import: warnings
4341
default-language: GHC2021
4442
build-depends:
4543
, aeson
@@ -57,7 +55,7 @@ library
5755
, deepseq
5856
, dependent-map
5957
, dependent-sum
60-
, Diff ^>=0.5 || ^>=1.0.0
58+
, Diff ^>=0.5 || ^>=1.0.0
6159
, directory
6260
, dlist
6361
, edit-distance
@@ -74,11 +72,11 @@ library
7472
, Glob
7573
, haddock-library >=1.8 && <1.12
7674
, 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
75+
, hie-bios ^>=0.18.0
76+
, hiedb ^>=0.8.0.0
77+
, hls-graph ==2.13.0.0
78+
, hls-plugin-api ==2.13.0.0
79+
, implicit-hie >=0.1.4.0 && <0.1.5
8280
, lens
8381
, lens-aeson
8482
, list-t
@@ -89,9 +87,9 @@ library
8987
, optparse-applicative
9088
, os-string
9189
, parallel
92-
, process
9390
, prettyprinter >=1.7
9491
, prettyprinter-ansi-terminal
92+
, process
9593
, random
9694
, regex-tdfa >=1.3.1.0
9795
, safe-exceptions
@@ -147,8 +145,8 @@ library
147145
Development.IDE.Core.UseStale
148146
Development.IDE.Core.WorkerThread
149147
Development.IDE.GHC.Compat
150-
Development.IDE.GHC.Compat.Core
151148
Development.IDE.GHC.Compat.CmdLine
149+
Development.IDE.GHC.Compat.Core
152150
Development.IDE.GHC.Compat.Driver
153151
Development.IDE.GHC.Compat.Env
154152
Development.IDE.GHC.Compat.Error
@@ -175,8 +173,8 @@ library
175173
Development.IDE.Monitoring.OpenTelemetry
176174
Development.IDE.Plugin
177175
Development.IDE.Plugin.Completions
178-
Development.IDE.Plugin.Completions.Types
179176
Development.IDE.Plugin.Completions.Logic
177+
Development.IDE.Plugin.Completions.Types
180178
Development.IDE.Plugin.HLS
181179
Development.IDE.Plugin.HLS.GhcIde
182180
Development.IDE.Plugin.Test
@@ -200,31 +198,29 @@ library
200198
Development.IDE.Types.Options
201199
Development.IDE.Types.Shake
202200
Generics.SYB.GHC
203-
Text.Fuzzy.Parallel
204201
Text.Fuzzy.Levenshtein
202+
Text.Fuzzy.Parallel
205203

206204
other-modules:
207205
Development.IDE.Core.FileExists
208206
Development.IDE.GHC.CPP
209207
Development.IDE.GHC.Warnings
210-
Development.IDE.Types.Action
211208
Development.IDE.Session.OrderedSet
209+
Development.IDE.Types.Action
212210

213211
if flag(pedantic)
214-
ghc-options:
215-
-Werror
212+
ghc-options: -Werror
216213

217214
flag executable
218215
description: Build the ghcide executable
219216
default: True
220217

221218
executable ghcide
222-
import: warnings
219+
import: warnings
223220
default-language: GHC2021
224221
hs-source-dirs: exe
225222
ghc-options: -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T"
226223

227-
228224
-- allow user RTS overrides
229225
-- disable idle GC
230226
-- increase nursery size

0 commit comments

Comments
 (0)