-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathglean-lsp.cabal
More file actions
93 lines (88 loc) · 2.51 KB
/
Copy pathglean-lsp.cabal
File metadata and controls
93 lines (88 loc) · 2.51 KB
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
cabal-version: 3.6
name: glean-lsp
version: 0.1.0.0
synopsis: Generic Glean-based LSP Server
homepage: https://github.com/facebookincubator/Glean
bug-reports: https://github.com/facebookincubator/Glean/issues
license: BSD-3-Clause
license-file: LICENSE
author: Facebook, Inc.
maintainer: Glean-team@fb.com
copyright: (c) Facebook, All Rights Reserved
build-type: Simple
extra-doc-files: CHANGELOG.md, README.md
common fb-haskell
default-language: Haskell2010
default-extensions:
BangPatterns
BinaryLiterals
DataKinds
DeriveDataTypeable
DeriveGeneric
EmptyCase
ExistentialQuantification
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NoMonomorphismRestriction
OverloadedStrings
PatternSynonyms
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeFamilies
TypeSynonymInstances
NondecreasingIndentation
TypeOperators
-- these are new relative to regular fb-haskell:
DisambiguateRecordFields
OverloadedRecordDot
NoFieldSelectors
DuplicateRecordFields
ImportQualifiedPost
ghc-options:
-Wall
-Wno-orphans
-Wno-name-shadowing
-Wno-unticked-promoted-constructors
if flag(opt)
ghc-options: -O2
flag opt
default: False
common exe
ghc-options: -threaded -rtsopts
executable glean-lsp
import: fb-haskell, exe
main-is: Glean/LSP.hs
hs-source-dirs: .
ghc-options: -main-is Glean.LSP
other-modules:
Data.Path
Data.ConcurrentCache
build-depends:
aeson >= 2.0.3 && < 2.3,
base >=4.11.1 && <4.21,
containers >= 0.6 && < 0.8,
data-default >= 0.7.1 && < 0.9,
directory ^>=1.3.1.5,
exceptions ^>=0.10.0,
filepath >= 1.4.2 && < 1.6,
hashable >=1.2.7.0 && <1.5,
lsp >=2.7.0.0 && <2.8.0.0,
text >=1.2.3.0 && < 2.2,
transformers >= 0.5.6 && < 0.7,
unliftio ^>=0.2,
unliftio-core ^>=0.2,
unordered-containers >= 0.2.9.0 && < 0.3,
optparse-applicative >= 0.17 && < 0.19,
glean:glass-lib >= 0.2 && < 0.3,
glean:if-glass-hs,
glean:util,
fb-util,
thrift-lib