forked from dcSpark/plutus-voting-dapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvoting-dapp.cabal
143 lines (137 loc) · 5.01 KB
/
voting-dapp.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
Cabal-Version: 2.4
Name: voting-dapp
Version: 0.1.0.0
Author: dcSpark
Maintainer: [email protected]
Build-Type: Simple
Copyright: © 2021 dcSpark
License: NONE
License-files: LICENSE
flag defer-plugin-errors
description:
Defer errors from the plugin, useful for things like Haddock that can't handle it.
default: True
manual: True
flag erase-costly-newtypes
description:
Newtypes aren't zero-cost in Plutus (especially on script size).
This flag enables type erasure for production
default: False
manual: True
-- flag erase-debug-messages
-- description:
-- Debug messages take some space in on-chain scripts.
-- This flags removes them.
-- default: False
-- manual: True
library
hs-source-dirs: src
exposed-modules: Onchain, Offchain, Utils
build-depends: aeson
, base
, containers
, plutus-core
, plutus-contract
, plutus-ledger
, plutus-ledger-api
, plutus-ledger-constraints
, plutus-tx
, plutus-tx-plugin
, text
, playground-common
, lens
default-language: Haskell2010
default-extensions: DataKinds
DeriveAnyClass
DeriveGeneric
DerivingStrategies
ExplicitForAll
FunctionalDependencies
GADTs
MultiParamTypeClasses
NamedFieldPuns
OverloadedStrings
PolyKinds
KindSignatures
StandaloneDeriving
TemplateHaskell
TypeApplications
TypeFamilies
TypeOperators
MultiParamTypeClasses
ScopedTypeVariables
StandaloneKindSignatures
LambdaCase
ghc-options: -Wall -Wnoncanonical-monad-instances -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas -fplugin-opt PlutusTx.Plugin:defer-errors
test-suite voting-dapp-test
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: test, src
other-modules: Endpoints, BasicScenarios, MaliciousEndpoints, Onchain, Offchain, Utils
build-depends: base
, voting-dapp
, aeson
, cardano-api
, cardano-crypto
, cardano-crypto-class
, bytestring
, containers
, freer-extras
, plutus-core
, plutus-contract
, plutus-ledger
, plutus-ledger-api
, plutus-ledger-constraints
, plutus-tx
, plutus-tx-plugin
, text
, playground-common
, freer-simple
, foldl
, streaming
, QuickCheck
, tasty
, tasty-hunit
, tasty-hedgehog
, tasty-golden
, tasty-quickcheck
, mtl
, lens
, data-default
, tasty
default-language: Haskell2010
default-extensions: DataKinds
DeriveAnyClass
DeriveGeneric
DerivingStrategies
ExplicitForAll
FunctionalDependencies
GADTs
MultiParamTypeClasses
NamedFieldPuns
OverloadedStrings
PolyKinds
KindSignatures
StandaloneDeriving
TemplateHaskell
TypeApplications
TypeFamilies
TypeOperators
MultiParamTypeClasses
ScopedTypeVariables
StandaloneKindSignatures
LambdaCase
ghc-options: -Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Werror
-Wpartial-fields
-fobject-code
-fno-ignore-interface-pragmas
-fno-omit-interface-pragmas
-fplugin-opt PlutusTx.Plugin:defer-errors