-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagora-drep.cabal
170 lines (159 loc) · 3.6 KB
/
agora-drep.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
cabal-version: 3.0
name: agora-drep
version: 0.1.0.0
license: Apache-2.0
license-file: LICENSE
author: Szabo Gergely
maintainer: [email protected]
build-type: Simple
extra-doc-files: CHANGELOG.md
data-files: agora-drep-bench/*.csv
common lang
ghc-options:
-Werror -Wall -Wcompat -Wincomplete-uni-patterns
-Wno-unused-do-bind -Wno-partial-type-signatures
-Wmissing-export-lists -Wincomplete-record-updates
-Wmissing-deriving-strategies -Wno-name-shadowing -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds -Wunused-do-bind
default-extensions:
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
DoAndIfThenElse
DuplicateRecordFields
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MonomorphismRestriction
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NoStarIsType
NumericUnderscores
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
PackageImports
PartialTypeSignatures
PatternGuards
PolyKinds
PostfixOperators
QualifiedDo
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TupleSections
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
ViewPatterns
default-language: Haskell2010
build-depends: base
library
import: lang
hs-source-dirs: agora-drep
exposed-modules:
Agora.AuthorityToken
Agora.Effect.Voting
Agora.Proxy
Agora.Utils
build-depends:
, generics-sop
, plutarch
, plutarch-ledger-api
, plutus-ledger-api
, plutus-tx
executable agora-drep-script-export
import: lang
main-is: Main.hs
build-depends:
, agora-drep
, bytestring
, cardano-binary
, directory
, plutarch
, plutarch-ledger-api
, plutus-ledger-api
hs-source-dirs: agora-drep-script-export
other-modules:
-- Factored out to share code between test and bench units
library agora-drep-spec
import: lang
hs-source-dirs: agora-drep-spec
exposed-modules:
Spec.Effect.Voting
Spec.Effect.Voting.Context
Spec.Proxy
Spec.Proxy.Context
Spec.Utils
build-depends:
, agora-drep
, bytestring
, cryptonite
, data-default-class
, memory
, mtl
, plutarch
, plutarch-ledger-api
, plutus-context-builder
, plutus-core
, plutus-ledger-api
, plutus-tx
, plutus-unit
, QuickCheck
, quickcheck-instances
, tasty
, tasty-hedgehog
, tasty-hunit
, tasty-quickcheck
, text
test-suite agora-drep-test
import: lang
hs-source-dirs: agora-drep-test
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, agora-drep-spec
, tasty
benchmark agora-drep-bench
import: lang
hs-source-dirs: agora-drep-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
build-depends:
, agora-drep
, agora-drep-spec
, plutarch
, plutarch-ledger-api
, plutarch-testlib
, plutus-core
, plutus-ledger-api
, tasty