-
Notifications
You must be signed in to change notification settings - Fork 1
/
lsp-client.cabal
100 lines (96 loc) · 2.55 KB
/
lsp-client.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
cabal-version: 3.0
name: lsp-client
version: 0.4.0.0
synopsis: Haskell library for Language Server Protocol clients
homepage: https://github.com/ners/lsp-client/blob/master/README.md
license: Apache-2.0
license-file: LICENCE.md
author: ners
maintainer: [email protected]
bug-reports: https://github.com/ners/lsp-client/issues
category: System
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
tested-with: GHC == { 9.2, 9.4, 9.6 }
source-repository head
type: git
location: https://github.com/ners/lsp-client
common common
default-language: GHC2021
ghc-options:
-Weverything
-Wno-unsafe
-Wno-missing-safe-haskell-mode
-Wno-missing-export-lists
-Wno-missing-import-lists
-Wno-missing-kind-signatures
-Wno-all-missed-specialisations
default-extensions:
ApplicativeDo
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveGeneric
DerivingStrategies
DerivingVia
ExplicitNamespaces
NoImplicitPrelude
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
RecordWildCards
RecursiveDo
TypeFamilies
ViewPatterns
build-depends:
aeson >= 2 && < 3,
base >= 4.16 && < 5,
bytestring >= 0.9 && < 0.13,
lens >= 5 && < 6,
lsp-types ^>= 2.3,
unliftio >= 0.2 && < 0.3,
library
import: common
hs-source-dirs: src
build-depends:
Diff,
Glob,
aeson-pretty,
co-log-core,
containers,
data-default,
dependent-map,
directory,
extra,
filepath,
generic-lens,
lsp ^>= 2.7,
mtl,
stm,
text,
text-rope,
transformers,
unix-compat >= 0.7.1 && < 0.8,
unordered-containers,
other-modules:
Control.Concurrent.STM.TVar.Extra,
exposed-modules:
Language.LSP.Client,
Language.LSP.Client.Decoding,
Language.LSP.Client.Encoding,
Language.LSP.Client.Exceptions,
Language.LSP.Client.Session,
test-suite spec
import: common
ghc-options: -threaded
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
QuickCheck,
extra,
hspec,
lsp-client,
process,
other-modules:
Language.LSP.ClientSpec,