forked from josephsumabat/static-ls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
static-ls.cabal
190 lines (183 loc) · 5.43 KB
/
static-ls.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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
cabal-version: 2.0
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: static-ls
version: 0.1.2
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
homepage: https://github.com/josephsumabat/static-ls#readme
bug-reports: https://github.com/josephsumabat/static-ls/issues
author: Joseph Sumabat
maintainer: [email protected]
license: MIT
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.4.4
, GHC == 9.6.3
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/josephsumabat/static-ls
flag dev
description: Defer type errors for development
manual: True
default: False
library
exposed-modules:
StaticLS.Except
StaticLS.HIE
StaticLS.HIE.File
StaticLS.HIE.File.Except
StaticLS.HieDb
StaticLS.IDE.Definition
StaticLS.IDE.Hover
StaticLS.IDE.Hover.Info
StaticLS.IDE.References
StaticLS.IDE.Workspace.Symbol
StaticLS.Maybe
StaticLS.Server
StaticLS.StaticEnv
StaticLS.StaticEnv.Options
other-modules:
Paths_static_ls
autogen-modules:
Paths_static_ls
hs-source-dirs:
src
default-extensions:
ExplicitNamespaces
FlexibleContexts
OverloadedRecordDot
OverloadedStrings
NoFieldSelectors
LambdaCase
RecordWildCards
ghc-options: -Wall -fwrite-ide-info -hiedir test/TestData/.hiefiles
build-depends:
array >=0.5.4 && <0.6
, base >=4.17.0 && <4.19
, containers >=0.6.0 && <0.7
, directory >=1.3.7 && <1.4
, errors >=2.3.0 && <2.4
, extra >=1.7.12 && <1.8
, filepath >=1.4.1 && <1.5
, ghc >=9.4.3 && <9.7
, ghc-paths >=0.1.0 && <0.2
, ghcide >=2.5.0 && <2.6.0
, hiedb >=0.4.2 && <0.5
, lsp ==2.3.*
, lsp-types ==2.1.*
, 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
, transformers >=0.5.6.2 && <0.7
, unliftio-core >=0.2.1 && <0.3
default-language: Haskell2010
if flag(dev)
ghc-options: -fwrite-ide-info -hiedir .hiefiles -fdefer-type-errors -fno-defer-typed-holes -Werror=deferred-type-errors -Werror=deferred-out-of-scope-variables
executable static-ls
main-is: Main.hs
other-modules:
App.Arguments
Paths_static_ls
autogen-modules:
Paths_static_ls
hs-source-dirs:
app
default-extensions:
ExplicitNamespaces
FlexibleContexts
OverloadedRecordDot
OverloadedStrings
NoFieldSelectors
LambdaCase
RecordWildCards
ghc-options: -Wall
build-depends:
array >=0.5.4 && <0.6
, base >=4.17.0 && <4.19
, containers >=0.6.0 && <0.7
, directory >=1.3.7 && <1.4
, errors >=2.3.0 && <2.4
, extra >=1.7.12 && <1.8
, filepath >=1.4.1 && <1.5
, ghc >=9.4.3 && <9.7
, ghc-paths >=0.1.0 && <0.2
, ghcide >=2.5.0 && <2.6.0
, hiedb >=0.4.2 && <0.5
, lsp ==2.3.*
, lsp-types ==2.1.*
, mtl >=2.2.2 && <2.4
, optparse-applicative >=0.17.0.0 && <0.19
, parsec >=3.1.0 && <3.2
, sqlite-simple >=0.4.18 && <0.5
, static-ls
, template-haskell >=2.19.0 && <2.21
, text >=2.0.1 && <2.1
, transformers >=0.5.6.2 && <0.7
, unliftio-core >=0.2.1 && <0.3
default-language: Haskell2010
if flag(dev)
ghc-options: -fwrite-ide-info -hiedir .hiefiles -fdefer-type-errors -fno-defer-typed-holes -Werror=deferred-type-errors -Werror=deferred-out-of-scope-variables
test-suite static-ls-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
SpecHook
StaticLS.HIE.FileSpec
StaticLS.IDE.DefinitionSpec
StaticLS.IDE.HoverSpec
TestData.Mod1
TestData.Mod2
TestImport
TestImport.Assert
TestImport.HieDb
TestImport.TestData
Paths_static_ls
autogen-modules:
Paths_static_ls
hs-source-dirs:
test
default-extensions:
ExplicitNamespaces
FlexibleContexts
OverloadedRecordDot
OverloadedStrings
NoFieldSelectors
LambdaCase
RecordWildCards
ghc-options: -Wall -fwrite-ide-info -hiedir test/TestData/.hiefiles
build-tool-depends: hspec-discover:hspec-discover == 2.*
build-depends:
array >=0.5.4 && <0.6
, base >=4.17.0 && <4.19
, containers >=0.6.0 && <0.7
, directory >=1.3.7 && <1.4
, errors >=2.3.0 && <2.4
, extra >=1.7.12 && <1.8
, filepath >=1.4.1 && <1.5
, ghc >=9.4.3 && <9.7
, ghc-paths >=0.1.0 && <0.2
, ghcide >=2.5.0 && <2.6.0
, hiedb >=0.4.2 && <0.5
, hspec ==2.*
, lsp ==2.3.*
, lsp-types ==2.1.*
, mtl >=2.2.2 && <2.4
, parsec >=3.1.0 && <3.2
, sqlite-simple >=0.4.18 && <0.5
, static-ls
, template-haskell >=2.19.0 && <2.21
, text >=2.0.1 && <2.1
, transformers >=0.5.6.2 && <0.7
, unliftio-core >=0.2.1 && <0.3
default-language: Haskell2010
if flag(dev)
ghc-options: -fwrite-ide-info -hiedir .hiefiles -fdefer-type-errors -fno-defer-typed-holes -Werror=deferred-type-errors -Werror=deferred-out-of-scope-variables