-
Notifications
You must be signed in to change notification settings - Fork 1
/
hsreduce.cabal
141 lines (137 loc) · 3.03 KB
/
hsreduce.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
cabal-version: 2.4
name: hsreduce
version: 0.1.0.0
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files: CHANGELOG.md
common dry
hs-source-dirs:
src
build-depends:
base
, unliftio
, array
, HUnit
, Cabal
, MonadRandom
, aeson
, bytestring
, cassava
, unordered-containers
, containers
, edit-distance
, ghc
, ghc-boot-th
, ghc-exactprint
, ghc-paths
, hashable
, hie-bios
, katip
, lifted-async
, Diff
, lifted-base
, megaparsec
, microlens-platform
, monad-control
, mtl
, optparse-generic
, path
, path-io
, process
, regex
, split
, stm-lifted
, syb
, text
, time
, uniplate
, word8
, transformers-base
, vector
, random-shuffle
default-extensions:
TypeApplications
DataKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
FlexibleInstances
GeneralizedNewtypeDeriving
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
MultiParamTypeClasses
OverloadedStrings
OverloadedStrings
PatternSynonyms
QuasiQuotes
Rank2Types
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TemplateHaskell
TupleSections
TypeFamilies
TypeFamilies
TypeOperators
UndecidableInstances
ViewPatterns
StandaloneDeriving
NumericUnderscores
default-language:
Haskell2010
ghc-options:
-Wall
executable hsreduce
import:
dry
main-is:
Main.hs
build-depends:
lib-hsreduce
ghc-options:
-Wall
-threaded
-rtsopts
-- -with-rtsopts=-T
-Wno-missing-methods
-Wno-orphans
library lib-hsreduce
import:
dry
exposed-modules:
Merge.Merge
Reduce.Driver
Reduce.Passes
Reduce.Passes.Expr
Reduce.Passes.Types
Reduce.Passes.Pat
Reduce.Passes.Decls
Reduce.Passes.TypeFamilies
Reduce.Passes.Stubbing
Reduce.Passes.DataTypes
Reduce.Passes.Typeclasses
-- Reduce.Passes.Names
Reduce.Passes.Functions
Reduce.Passes.Imports
Reduce.Passes.Exports
Reduce.Passes.Pragmas
Reduce.Passes.Parameters
Reduce.Passes.TemplateHaskell
Reduce.Passes.Cabal
Util.Util
Util.Types
Util.Parser
test-suite test-hsreduce
import:
dry
type:
exitcode-stdio-1.0
main-is:
Test.hs
hs-source-dirs:
test
build-depends:
lib-hsreduce
, hspec