-
Notifications
You must be signed in to change notification settings - Fork 0
/
plutus-context-builder.cabal
127 lines (109 loc) · 2.77 KB
/
plutus-context-builder.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
cabal-version: 3.0
name: plutus-context-builder
version: 2.11.0
synopsis: A builder for ScriptContexts
description:
Defines a builder for ScriptContexts, with helpers for commonly-needed uses.
homepage: https://github.com/mlabs-haskell/plutus-test
bug-reports:
https://github.com/Liqwid-Labs/mlabs-haskell/plutus-test/issues
license:
-- license-file: LICENSE
author: Koz Ross, Seungheon Oh
maintainer:
Koz Ross <[email protected]>, Seungheon Oh <[email protected]>
copyright: (C) 2022 Liqwid Labs
category: Plutus
build-type: Simple
tested-with: GHC ==9.2.5
extra-source-files: README.md
-- LICENSE
source-repository head
type: git
location: https://github.com/mlabs-haskell/plutus-test
-- Common sections
common common-lang
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-Wmissing-export-lists -Wmissing-deriving-strategies -Werror
build-depends:
, base ^>=4.16
default-extensions:
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
FlexibleContexts
FlexibleInstances
GeneralisedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NumericUnderscores
OverloadedLabels
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
NoFieldSelectors
default-language: Haskell2010
common common-tests
import: common-lang
ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
, plutus-context-builder
, plutus-ledger-api
, plutus-tx
, prettyprinter
, tasty
, tasty-hunit
-- Libraries
library
import: common-lang
exposed-modules: Plutus.ContextBuilder
other-modules:
Plutus.ContextBuilder.Base
Plutus.ContextBuilder.Certifying
Plutus.ContextBuilder.Check
Plutus.ContextBuilder.Internal
Plutus.ContextBuilder.Minting
Plutus.ContextBuilder.Rewarding
Plutus.ContextBuilder.Spending
Plutus.ContextBuilder.SubBuilder
Plutus.ContextBuilder.TxInfo
build-depends:
, acc
, bytestring
, contravariant
, cryptonite
, memory
, optics
, plutus-ledger-api
, plutus-tx
, prettyprinter
, serialise
hs-source-dirs: src
-- Tests
test-suite sample
import: common-tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
MintingBuilder
SpendingBuilder
build-depends: optics
hs-source-dirs: sample/