forked from haskell/haskell-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hls-fourmolu-plugin.cabal
74 lines (68 loc) · 1.98 KB
/
hls-fourmolu-plugin.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
cabal-version: 2.4
name: hls-fourmolu-plugin
version: 2.2.0.0
synopsis: Integration with the Fourmolu code formatter
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
license: Apache-2.0
license-file: LICENSE
author: The Haskell IDE Team
copyright: The Haskell IDE Team
homepage: https://github.com/haskell/haskell-language-server
bug-reports: https://github.com/haskell/haskell-language-server/issues
maintainer: alan.zimm@gmail.com
category: Development
build-type: Simple
extra-source-files:
LICENSE
test/testdata/**/*.hs
source-repository head
type: git
location: git://github.com/haskell/haskell-language-server.git
library
buildable: True
exposed-modules:
Ide.Plugin.Fourmolu
hs-source-dirs: src
ghc-options: -Wall
build-depends:
, base >=4.12 && <5
, filepath
, ghc
, ghc-boot-th
, ghcide == 2.2.0.0
, hls-plugin-api == 2.2.0.0
, lens
, lsp
, mtl
, process-extras >= 0.7.1
, text
, transformers
if impl(ghc >= 9.0) && impl(ghc < 9.2)
build-depends: fourmolu ^>= 0.11
elif impl(ghc >= 9.2) && impl(ghc < 9.8)
build-depends: fourmolu ^>= 0.14
else
buildable: false
-- fourmolu 0.9.0 fails to build on Windows CI for reasons unknown
if impl(ghc >= 9.2) && os(windows) && impl(ghc < 9.4)
build-depends: fourmolu > 0.9.0.0 || < 0.9.0.0
default-language: Haskell2010
test-suite tests
buildable: True
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-tool-depends:
fourmolu:fourmolu
build-depends:
, base
, aeson
, containers
, filepath
, hls-fourmolu-plugin
, hls-plugin-api
, hls-test-utils == 2.2.0.0
, lsp-test