1
- cabal-version : 2.4
1
+ cabal-version : 3.0
2
2
build-type : Simple
3
3
category : Development
4
4
name : ghcide
@@ -272,8 +272,7 @@ benchmark benchHist
272
272
default-language : Haskell2010
273
273
ghc-options : -Wall -Wno-name-shadowing -threaded
274
274
main-is : Main.hs
275
- hs-source-dirs : bench/hist bench/lib
276
- other-modules : Experiments.Types
275
+ hs-source-dirs : bench/hist
277
276
build-tool-depends :
278
277
ghcide :ghcide-bench,
279
278
hp2pretty :hp2pretty,
@@ -300,6 +299,7 @@ benchmark benchHist
300
299
directory,
301
300
extra,
302
301
filepath,
302
+ ghcide :experiments-types,
303
303
lens,
304
304
optparse-applicative,
305
305
shake,
@@ -310,6 +310,35 @@ flag executable
310
310
description : Build the ghcide executable
311
311
default : True
312
312
313
+ library experiments-types
314
+ default-language : Haskell2010
315
+ visibility : public
316
+ hs-source-dirs : bench/types
317
+ ghc-options : -Wall -Wno-name-shadowing
318
+ exposed-modules :
319
+ Experiments.Types
320
+ build-depends :
321
+ aeson,
322
+ base == 4. *,
323
+ binary,
324
+ deepseq,
325
+ hashable,
326
+ default-extensions :
327
+ BangPatterns
328
+ DeriveFunctor
329
+ DeriveGeneric
330
+ FlexibleContexts
331
+ GeneralizedNewtypeDeriving
332
+ LambdaCase
333
+ NamedFieldPuns
334
+ RecordWildCards
335
+ ScopedTypeVariables
336
+ StandaloneDeriving
337
+ TupleSections
338
+ TypeApplications
339
+ ViewPatterns
340
+
341
+
313
342
executable ghcide
314
343
default-language : Haskell2010
315
344
hs-source-dirs : exe
@@ -406,6 +435,7 @@ test-suite ghcide-tests
406
435
ghc,
407
436
--------------------------------------------------------------
408
437
ghcide,
438
+ ghcide :experiments-types,
409
439
ghc-typelits-knownnat,
410
440
haddock-library ,
411
441
lsp,
@@ -451,7 +481,6 @@ test-suite ghcide-tests
451
481
Development.IDE.Test.Diagnostic
452
482
Development.IDE.Test.Runfiles
453
483
Experiments
454
- Experiments.Types
455
484
FuzzySearch
456
485
Progress
457
486
HieDbRetry
@@ -489,6 +518,7 @@ executable ghcide-bench
489
518
extra,
490
519
filepath,
491
520
ghcide,
521
+ ghcide :experiments-types,
492
522
hls-plugin-api,
493
523
lens,
494
524
lsp-test,
@@ -507,7 +537,6 @@ executable ghcide-bench
507
537
Development.IDE.Test
508
538
Development.IDE.Test.Diagnostic
509
539
Experiments
510
- Experiments.Types
511
540
default-extensions :
512
541
BangPatterns
513
542
DeriveFunctor
0 commit comments