-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcardano-reference-scripts.cabal
92 lines (87 loc) · 1.93 KB
/
cardano-reference-scripts.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
cabal-version: 2.4
name: cardano-reference-scripts
version: 0.1.0.0
synopsis: An application for sharing references scripts in a trustless manner.
license: Apache-2.0
author: fallen-icarus
maintainer: modern.daidalos+git@gmail.com
copyright: 2023 fallen-icarus
extra-source-files: CHANGELOG.md
common lang
build-depends: base ^>=4.14
default-language: Haskell2010
ghc-options: -Wall -Wredundant-constraints
library
import: lang
exposed-modules: CardanoReferenceScripts
build-depends:
plutus-ledger,
plutus-ledger-api,
plutus-core,
plutus-tx-plugin,
plutus-tx,
plutus-script-utils,
cardano-api,
bytestring,
serialise,
aeson,
plutonomy,
hs-source-dirs: src
ghc-options:
-fobject-code
-fno-ignore-interface-pragmas
-fno-omit-interface-pragmas
-fno-specialise
test-suite cardano-reference-scripts-tests
import: lang
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test
ghc-options:
-threaded -rtsopts -with-rtsopts=-N
other-modules:
Test.Common,
Test.CreateSharedRef,
Test.CloseSharedRef
build-depends:
cardano-reference-scripts,
cardano-api,
plutus-contract,
plutus-tx,
plutus-ledger-api,
plutus-ledger,
plutus-ledger-constraints,
plutus-tx-plugin,
aeson,
plutus-script-utils,
text,
playground-common,
containers,
data-default,
tasty,
lens,
tasty-hunit
executable cardano-reference-scripts
import: lang
main-is: Main.hs
other-modules:
CLI.Types,
CLI.Parsers,
CLI.Run,
CLI.BlockfrostApi,
CLI.QueryScript
build-depends:
cardano-reference-scripts,
optparse-applicative,
servant,
aeson,
servant-client,
http-client,
http-client-tls,
text,
containers,
vector,
aeson-pretty,
bytestring,
utf8-string,
hs-source-dirs: app