Skip to content

Commit a8708fc

Browse files
committed
Format .cabal files with cabal-fmt
1 parent 4985793 commit a8708fc

File tree

6 files changed

+1004
-881
lines changed

6 files changed

+1004
-881
lines changed

ghcide/ghcide.cabal

Lines changed: 24 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ 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.8.2 || ==9.6.5 || ==9.4.8 || ==9.2.8
17+
tested-with: GHC ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2
1818
extra-source-files:
1919
CHANGELOG.md
2020
README.md
@@ -35,16 +35,12 @@ flag pedantic
3535

3636
common warnings
3737
ghc-options:
38-
-Werror=incomplete-patterns
39-
-Wall
40-
-Wincomplete-uni-patterns
41-
-Wunused-packages
42-
-Wno-name-shadowing
43-
-Wno-unticked-promoted-constructors
44-
-fno-ignore-asserts
38+
-Werror=incomplete-patterns -Wall -Wincomplete-uni-patterns
39+
-Wunused-packages -Wno-name-shadowing
40+
-Wno-unticked-promoted-constructors -fno-ignore-asserts
4541

4642
library
47-
import: warnings
43+
import: warnings
4844
default-language: GHC2021
4945
build-depends:
5046
, aeson
@@ -82,10 +78,10 @@ library
8278
, hashable
8379
, hie-bios ^>=0.14.0
8480
, 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
81+
, hiedb ^>=0.6.0.0
82+
, hls-graph ==2.8.0.0
83+
, hls-plugin-api ==2.8.0.0
84+
, implicit-hie >=0.1.4.0 && <0.1.5
8985
, lens
9086
, list-t
9187
, lsp ^>=2.5.0.0
@@ -149,8 +145,8 @@ library
149145
Development.IDE.Core.Tracing
150146
Development.IDE.Core.UseStale
151147
Development.IDE.GHC.Compat
152-
Development.IDE.GHC.Compat.Core
153148
Development.IDE.GHC.Compat.CmdLine
149+
Development.IDE.GHC.Compat.Core
154150
Development.IDE.GHC.Compat.Env
155151
Development.IDE.GHC.Compat.Iface
156152
Development.IDE.GHC.Compat.Logger
@@ -175,8 +171,8 @@ library
175171
Development.IDE.Monitoring.OpenTelemetry
176172
Development.IDE.Plugin
177173
Development.IDE.Plugin.Completions
178-
Development.IDE.Plugin.Completions.Types
179174
Development.IDE.Plugin.Completions.Logic
175+
Development.IDE.Plugin.Completions.Types
180176
Development.IDE.Plugin.HLS
181177
Development.IDE.Plugin.HLS.GhcIde
182178
Development.IDE.Plugin.Test
@@ -208,16 +204,15 @@ library
208204
Development.IDE.Types.Action
209205

210206
if flag(pedantic)
211-
ghc-options:
212-
-Werror
207+
ghc-options: -Werror
213208

214209
flag test-exe
215210
description: Build the ghcide-test-preprocessor executable
216211
default: True
217212

218213
executable ghcide-test-preprocessor
219-
import: warnings
220-
default-language: GHC2021
214+
import: warnings
215+
default-language: GHC2021
221216
hs-source-dirs: test/preprocessor
222217
main-is: Main.hs
223218
build-depends: base >=4 && <5
@@ -230,12 +225,11 @@ flag executable
230225
default: True
231226

232227
executable ghcide
233-
import: warnings
228+
import: warnings
234229
default-language: GHC2021
235230
hs-source-dirs: exe
236231
ghc-options: -threaded -rtsopts "-with-rtsopts=-I0 -A128M -T"
237232

238-
239233
-- allow user RTS overrides
240234
-- disable idle GC
241235
-- increase nursery size
@@ -267,19 +261,14 @@ executable ghcide
267261
buildable: False
268262

269263
library ghcide-test-utils
270-
import: warnings
271-
visibility: public
264+
import: warnings
265+
visibility: public
272266
default-language: GHC2021
273-
274-
hs-source-dirs: test/cabal
275-
exposed-modules:
276-
Development.IDE.Test.Runfiles
277-
278-
build-depends:
279-
base > 4.9 && < 5
280-
267+
hs-source-dirs: test/cabal
268+
exposed-modules: Development.IDE.Test.Runfiles
269+
build-depends: base >=4.9.0 && <5
281270
default-extensions:
282-
LambdaCase
283-
OverloadedStrings
284-
RecordWildCards
285-
ViewPatterns
271+
LambdaCase
272+
OverloadedStrings
273+
RecordWildCards
274+
ViewPatterns

0 commit comments

Comments
 (0)