forked from josephsumabat/static-ls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
175 lines (167 loc) · 3.79 KB
/
package.yaml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
spec-version: 0.30.0
name: static-ls
author: Joseph Sumabat
synopsis: See README on Github for more information
description: static-ls ("static language server") reads static project
information to provide IDE functionality through the language server
protocol. static-ls will not generate this information on its own and instead
will rely on the user to generate this information via separate programs
category: Development
maintainer: josephrsumabat@gmail.com
github: josephsumabat/static-ls
license: MIT
version: 1.0.0
build-type: Simple
extra-doc-files:
- README.md
- CHANGELOG.md
tested-with:
- GHC == 9.4.4
- GHC == 9.6.3
dependencies:
- array >= 0.5.4 && < 0.6
- base >= 4.17.0 && < 4.19
- containers >= 0.6.0 && < 0.7
- unordered-containers >= 0.2 && < 0.3
- errors >= 2.3.0 && < 2.4
- extra >= 1.7.12 && < 1.8
- directory >= 1.3.7 && < 1.4
- filepath
- ghc >= 9.4.3 && < 9.7
- ghc-paths >= 0.1.0 && < 0.2
- haskell-lexer >=1.1.1 && <1.2.0
- hiedb >= 0.6 && < 0.7
- lsp == 2.4.0.0
- lsp-types == 2.1.0.0
- mtl >= 2.2.2 && < 2.4
- parsec >= 3.1.0 && < 3.2
- sqlite-simple >= 0.4.18 && < 0.5
- template-haskell >= 2.19.0 && < 2.21
- text >= 2.0.1 && < 2.1
- bytestring >=0.10 && <0.13
- transformers >= 0.5.6.2 && < 0.7
- unliftio-core >= 0.2.1 && < 0.3
- unliftio >= 0.2.1 && < 0.3
- aeson >=2 && <2.3
- text-rope == 0.2
- co-log-core >= 0.3 && < 0.4
- tree-sitter-simple
- tree-sitter-haskell
- tree-sitter-ast
- haskell-ast
- text-range
- pretty-simple
- Diff
- exceptions
- lens
- optics
- hashable
- neat-interpolation
- typed-process
- cryptohash-md5
- async
- fsnotify
# because of lsp-types 2.1
- raw-strings-qq
- row-types
- regex-tdfa # why is the api for this library so bad
- stm
language: GHC2021
default-extensions:
- LambdaCase
- ExplicitNamespaces
- OverloadedRecordDot
- OverloadedStrings
- NoFieldSelectors
- DuplicateRecordFields
- DataKinds
- PatternSynonyms
- BlockArguments
- ViewPatterns
ghc-options:
- -Wall
- -Wno-name-shadowing
- -Wincomplete-record-updates
library:
source-dirs: src
ghc-options:
- -fwrite-ide-info
- -hiedir test/TestData/.hiefiles
- -haddock
executables:
static-ls:
source-dirs: app
main: Main.hs
dependencies:
- static-ls
- optparse-applicative >= 0.17.0.0 && < 0.19
generated-other-modules:
- Paths_static_ls
ghc-options:
# rtsopts
- -threaded
- -rtsopts
- -with-rtsopts=-N
print-hie:
source-dirs: print
main: Main.hs
dependencies:
- static-ls
- optparse-applicative >= 0.17.0.0 && < 0.19
ghc-options:
# rtsopts
- -threaded
- -rtsopts
- -with-rtsopts=-N
tests:
expect_tests:
dependencies:
- static-ls
- tasty-expect
- hspec == 2.*
- QuickCheck
- quickcheck-instances
- tasty
main: Main.hs
source-dirs: expect_tests
ghc-options:
# rtsopts
- -threaded
- -rtsopts
- -with-rtsopts=-N
static-ls-test:
dependencies:
- static-ls
- hspec == 2.*
- QuickCheck
- quickcheck-instances
main: Main.hs
source-dirs: test
verbatim:
build-tool-depends:
hspec-discover:hspec-discover == 2.*
ghc-options:
- -fwrite-ide-info
- -fwrite-interface
- -hiedir test/TestData/.hiefiles
- -hidir test/TestData/.hifiles
- -haddock
# rtsopts
- -threaded
- -rtsopts
- -with-rtsopts=-N
flags:
dev:
description: Defer type errors for development
manual: true
default: false
when:
- condition: flag(dev)
ghc-options:
- -fwrite-ide-info
- -hiedir .hiefiles
- -hidir .hifiles
- -fdefer-type-errors
- -fno-defer-typed-holes
- -Werror=deferred-type-errors
- -Werror=deferred-out-of-scope-variables