File tree 1 file changed +29
-30
lines changed
1 file changed +29
-30
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,36 @@ executable haskell-language-server-wrapper
205
205
, process
206
206
default-language : Haskell2010
207
207
208
+ common hls-test-utils
209
+ import : agpl
210
+ hs-source-dirs : test/utils
211
+ other-modules : Test.Hls.Util
212
+ build-depends : base
213
+ , haskell-language-server
214
+ , haskell-lsp
215
+ , hie-bios
216
+ , aeson
217
+ , blaze-markup
218
+ , containers
219
+ , data-default
220
+ , directory
221
+ , filepath
222
+ , hslogger
223
+ , hspec
224
+ , hspec-core
225
+ , lsp-test
226
+ , stm
227
+ , tasty-hunit
228
+ , text
229
+ , unordered-containers
230
+ , yaml
231
+ ghc-options : -Wall -Wredundant-constraints
232
+ if flag(pedantic)
233
+ ghc-options : -Werror
234
+ default-language : Haskell2010
235
+
208
236
test-suite func-test
209
- import : agpl
237
+ import : agpl, hls-test-utils
210
238
type : exitcode-stdio-1.0
211
239
default-language : Haskell2010
212
240
build-tool-depends : haskell-language-server :haskell-language-server
@@ -219,7 +247,6 @@ test-suite func-test
219
247
, haskell-language-server
220
248
, haskell-lsp
221
249
, haskell-lsp-types
222
- , hls-test-utils
223
250
, hspec-expectations
224
251
, lens
225
252
, lsp-test >= 0.10.0.0
@@ -253,31 +280,3 @@ test-suite func-test
253
280
-threaded -rtsopts -with-rtsopts=-N
254
281
if flag(pedantic)
255
282
ghc-options : -Werror -Wredundant-constraints
256
-
257
- library hls-test-utils
258
- import : agpl
259
- hs-source-dirs : test/utils
260
- exposed-modules : Test.Hls.Util
261
- build-depends : base
262
- , haskell-language-server
263
- , haskell-lsp
264
- , hie-bios
265
- , aeson
266
- , blaze-markup
267
- , containers
268
- , data-default
269
- , directory
270
- , filepath
271
- , hslogger
272
- , hspec
273
- , hspec-core
274
- , lsp-test
275
- , stm
276
- , tasty-hunit
277
- , text
278
- , unordered-containers
279
- , yaml
280
- ghc-options : -Wall -Wredundant-constraints
281
- if flag(pedantic)
282
- ghc-options : -Werror
283
- default-language : Haskell2010
You can’t perform that action at this time.
0 commit comments