-
Notifications
You must be signed in to change notification settings - Fork 0
/
hi-fi.cabal
93 lines (88 loc) · 2.46 KB
/
hi-fi.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
cabal-version: 3.0
name: hi-fi
version: 0.1.0.0
-- synopsis:
-- description:
license: BSD-3-Clause
license-file: LICENSE
author: Aaron Allen
maintainer: [email protected]
-- copyright:
category: Data
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
common warnings
ghc-options: -Wall -Wno-unticked-promoted-constructors
library
import: warnings
exposed-modules: HiFi,
HiFi.Internal.Types
other-modules: HiFi.GhcFacade,
HiFi.Api,
HiFi.TcPlugin,
HiFi.TcPlugin.Equality,
HiFi.TcPlugin.FieldGetters,
HiFi.TcPlugin.FoldFields,
HiFi.TcPlugin.HkdHasField,
HiFi.TcPlugin.HkdSetField,
HiFi.TcPlugin.Instantiate,
HiFi.TcPlugin.PluginInputs,
HiFi.TcPlugin.RecordParts,
HiFi.TcPlugin.ToRecord,
HiFi.TcPlugin.Utils,
HiFi.ParseResultAction,
HiFi.StringSing
-- other-extensions:
build-depends: base >=4.16.0.0 && <4.19.0.0,
ghc >= 9.2.0,
primitive,
syb,
transformers,
bytestring,
deepseq,
containers
hs-source-dirs: src
default-language: GHC2021
test-suite hi-fi-test
import: warnings
default-language: GHC2021
-- other-modules:
-- other-extensions:
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
ghc-options: -fplugin HiFi
-Wno-orphans
-O2
build-depends:
base >=4.16.0.0 && <4.19.0.0,
hi-fi,
tasty,
tasty-hunit,
tasty-quickcheck,
quickcheck-properties
test-suite hi-fi-type-errors
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: type-error-test
main-is: Main.hs
build-depends:
base,
process,
tasty,
tasty-hunit
benchmark hi-fi-bench
import: warnings
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
ghc-options: -fplugin HiFi
-freduction-depth=0
build-depends:
base,
hi-fi,
criterion,
higgledy,
generic-lens