This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathplutus-doc.cabal
166 lines (145 loc) · 4.01 KB
/
plutus-doc.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
cabal-version: 2.2
name: plutus-doc
version: 1.2.0.0
license: Apache-2.0
license-files:
LICENSE
NOTICE
maintainer: [email protected]
author: Michael Peyton Jones, Jann Mueller
synopsis: Plutus documentation
description: Plutus documentation
category: Language
build-type: Simple
source-repository head
type: git
location: https://github.com/input-output-hk/plutus-apps
flag defer-plugin-errors
description:
Defer errors from the plugin, useful for things like Haddock that can't handle it.
default: False
manual: True
common lang
default-language: Haskell2010
default-extensions:
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
ExplicitForAll
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
ScopedTypeVariables
StandaloneDeriving
-- See Plutus Tx readme for why we need the following flags:
-- -fobject-code -fno-ignore-interface-pragmas and -fno-omit-interface-pragmas
ghc-options:
-Wall -Wnoncanonical-monad-instances -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints -Widentities
-Wmissing-import-lists -Wno-unused-imports -fobject-code
-fno-ignore-interface-pragmas -fno-omit-interface-pragmas
if flag(defer-plugin-errors)
executable doc-doctests
import: lang
if (impl(ghcjs) || os(windows))
buildable: False
hs-source-dirs: plutus/tutorials plutus/howtos
main-is: Main.hs
build-tool-depends: doctest:doctest
other-modules:
BasicAppConstraints
BasicApps
Escrow
Escrow2
Escrow3
Escrow4
Escrow5
Escrow6
EscrowImpl
GameModel
HandlingBlockchainEvents
HelloWorldApp
WriteScriptsTo
--------------------
-- Local components
--------------------
build-depends:
, cardano-node-emulator >=1.2.0
, freer-extras >=1.2.0
, plutus-chain-index-core >=1.2.0
, plutus-contract >=1.2.0
, plutus-contract-model >=1.2.0
, plutus-ledger >=1.2.0
, plutus-script-utils >=1.2.0
, plutus-tx-constraints >=1.2.0
, plutus-use-cases >=1.2.0
--------------------------
-- Other IOG dependencies
--------------------------
build-depends:
, cardano-api >=1.35
, plutus-core >=1.0.0
, plutus-ledger-api >=1.0.0
, plutus-tx >=1.0.0
, quickcheck-contractmodel >=0.1.4.1
, quickcheck-dynamic >=3.0.2
if !(impl(ghcjs) || os(ghcjs))
build-depends: plutus-tx-plugin >=1.0.0
------------------------
-- Non-IOG dependencies
------------------------
build-depends:
, aeson
, base >=4.9 && <5
, containers
, data-default
, lens
, QuickCheck
, random
, tasty
, tasty-quickcheck
, template-haskell >=2.13.0.0
, text
test-suite basic-app
import: lang
if (impl(ghcjs) || os(windows))
buildable: False
hs-source-dirs: plutus/tutorials
main-is: BasicAppsSpec.hs
type: exitcode-stdio-1.0
other-modules: BasicApps
--------------------
-- Local components
--------------------
build-depends:
, cardano-node-emulator >=1.2.0
, freer-extras >=1.2.0
, plutus-contract >=1.2.0
, plutus-ledger >=1.2.0
, plutus-script-utils >=1.2.0
, plutus-tx-constraints >=1.2.0
--------------------------
-- Other IOG dependencies
--------------------------
build-depends:
, plutus-core >=1.0.0
, plutus-ledger-api >=1.0.0
, plutus-tx >=1.0.0
if !(impl(ghcjs) || os(ghcjs))
build-depends: plutus-tx-plugin >=1.0.0
------------------------
-- Non-IOG dependencies
------------------------
build-depends:
, aeson
, base >=4.9 && <5
, bytestring
, containers
, data-default
, freer-simple
, tasty
, tasty-golden
, template-haskell >=2.13.0.0
, text