forked from smart-chain-fr/tokenomia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tokenomia.cabal
122 lines (111 loc) · 2.82 KB
/
tokenomia.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
cabal-version: 2.4
name: tokenomia
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
license: Apache-2.0
license-files: LICENSE
-- A copyright notice.
-- copyright:
-- category:
-- extra-source-files: CHANGELOG.md
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
ghc-options:
-Wall -Wnoncanonical-monad-instances
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -rtsopts
-- See Plutus Tx readme
-fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas
if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
library
import: lang
exposed-modules:
Tokenomia.CLI
Tokenomia.Adapter.Cardano.CLI
Tokenomia.Token.CLAPStyle.Mint
Tokenomia.Token.CLAPStyle.Burn
Tokenomia.Token.CLAPStyle.MonetaryPolicy
Tokenomia.Wallet.CLI
Tokenomia.Token.Transfer
Tokenomia.Vesting.Contract
Tokenomia.Tokenomic.CLAP.Simulation
Tokenomia.Adapter.Cardano.CLI.UTxO
Tokenomia.Adapter.Cardano.CLI.Value
Tokenomia.Adapter.Cardano.CLI.Serialise
Tokenomia.Adapter.Cardano.CLI.Internal
build-depends:
base >= 4.9 && < 5,
lens,
aeson,
text,
time,
mtl,
shh,
byline,
split,
directory,
exceptions,
utf8-string,
freer-simple,
data-default,
unordered-containers,
bytestring,
containers,
cardano-api,
cardano-ledger-alonzo,
plutus-ledger-api,
serialise,
freer-extras,
playground-common,
plutus-contract,
plutus-tx-plugin,
plutus-tx,
plutus-ledger
hs-source-dirs: src
test-suite tokenomia-tests
import: lang
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Spec.Tokenomia.Token.CLAPStyle.MonetaryPolicy
Spec.Tokenomia.Vesting.Contract
Spec.Tokenomia.Adapter.Cardano.CLI.UTxO
Spec.Tokenomia.Adapter.Cardano.CLI.Value
build-depends:
plutus-tx -any,
plutus-tx-plugin,
plutus-contract -any,
plutus-ledger -any,
plutus-ledger-api,
tokenomia -any
build-depends:
base >=4.9 && <5,
tasty -any,
tasty-hunit -any,
tasty-hedgehog >=0.2.0.0,
freer-simple -any,
bytestring,
text,
interpolatedstring-perl6,
data-default
executable tokenomia-cli
import: lang
main-is: Main.hs
hs-source-dirs: app
ghc-options:
-threaded
build-depends:
base >= 4.9 && < 5,
tokenomia