forked from haskell/haskell-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hls-brittany-plugin.cabal
63 lines (58 loc) · 1.67 KB
/
hls-brittany-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
cabal-version: 2.4
name: hls-brittany-plugin
version: 1.0.2.2
synopsis: Integration with the Brittany code formatter
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
license: AGPL-3.0-only
license-file: LICENSE
author: The Haskell IDE Team
copyright: The Haskell IDE Team
maintainer: alan.zimm@gmail.com
category: Development
build-type: Simple
extra-source-files:
LICENSE
test/testdata/**/*.hs
source-repository head
type: git
location: https://github.com/haskell/haskell-language-server.git
library
if impl(ghc >= 9.2)
buildable: False
else
buildable: True
exposed-modules: Ide.Plugin.Brittany
hs-source-dirs: src
build-depends:
, base >=4.12 && <5
-- see https://github.com/lspitzner/brittany/issues/364
, brittany >=0.13.1.0 && < 0.14.0.1 || > 0.14.0.1
, filepath
, ghc-boot-th
, ghcide ^>= 1.6 || ^>= 1.7 || ^>= 1.8
, hls-plugin-api ^>= 1.3 || ^>= 1.4 || ^>= 1.5
, lens
, lsp-types
, text
, transformers
-- TODO: remove these when GH issue #2005 is resolved
, extra
, ghc-exactprint
, czipwith
default-language: Haskell2010
test-suite tests
if impl(ghc >= 9.2)
buildable: False
else
buildable: True
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
, base
, filepath
, hls-brittany-plugin
, hls-test-utils ^>=1.3 || ^>= 1.4