-
Notifications
You must be signed in to change notification settings - Fork 3
/
coop-pab.cabal
187 lines (176 loc) · 3.87 KB
/
coop-pab.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
cabal-version: 3.0
name: coop-pab
version: 0.1.0.0
license: MIT
license-file: LICENSE
maintainer: info@mlabs.city
author: mlabs-haskell
description:
COOP BPI based PAB programs (Contracts) for testing and interacting with the Plutus counterpart
flag dev
description: Enable non-strict compilation for development
manual: True
common common-language
ghc-options:
-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 -fwarn-missing-import-lists -Wname-shadowing
-Wunused-packages -fprint-potential-instances
if !flag(dev)
ghc-options: -Werror
default-extensions:
NoStarIsType
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
DoAndIfThenElse
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
ExplicitNamespaces
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MonomorphismRestriction
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NumericUnderscores
OverloadedStrings
PartialTypeSignatures
PatternGuards
PolyKinds
PostfixOperators
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TemplateHaskell
TraditionalRecordSyntax
TupleSections
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
ViewPatterns
default-language: Haskell2010
library
import: common-language
exposed-modules:
Coop.Pab
Coop.Pab.Aux
hs-source-dirs: src
build-depends:
, aeson
, base
, bot-plutus-interface
, bytestring
, cardano-proto-extras
, containers
, coop-hs-types
, coop-tx-builder-service-proto
, cryptonite
, directory
, filepath
, lens
, memory
, plutip
, plutus-contract
, plutus-ledger
, plutus-ledger-api
, plutus-pab
, plutus-script-utils
, plutus-tx
, process
, proto-lens
, stm
, text
, uuid
test-suite coop-pab-tests
import: common-language
build-depends:
, base
, bot-plutus-interface
, bytestring
, cardano-proto-extras
, containers
, coop-hs-types
, coop-pab
, coop-tx-builder-service-proto
, data-default
, lens
, mtl
, plutip
, plutus-contract
, plutus-ledger
, plutus-ledger-api
, plutus-script-utils
, proto-lens
, tasty
, text
hs-source-dirs: test
main-is: Main.hs
other-modules: Aux
ghc-options: -Wall -threaded -rtsopts
type: exitcode-stdio-1.0
executable coop-pab-cli
import: common-language
main-is: Main.hs
hs-source-dirs: app
other-modules:
Coop.Cli.Aux
Coop.Cli.Deploy
Coop.Cli.GarbageCollect
Coop.Cli.GetState
Coop.Cli.MintAuth
Coop.Cli.MintCertRdmrs
Coop.Cli.RedistributeAuth
Coop.Cli.TxBuilderGrpc
build-depends:
, aeson
, base
, bot-plutus-interface
, bytestring
, cardano-proto-extras
, coop-cardano-proto
, coop-hs-types
, coop-pab
, coop-tx-builder-service-proto
, directory
, filepath
, hex
, http2-grpc-proto-lens
, http2-grpc-types
, lens
, optparse-applicative
, plutus-ledger
, plutus-ledger-api
, proto-lens
, serialise
, text
, warp
, warp-grpc
, warp-tls