forked from Dapp360dca/d360-dca-onchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plutus-hello-world.cabal
73 lines (61 loc) · 1.73 KB
/
plutus-hello-world.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
cabal-version: 2.4
name: plutus-starter-kit
version: 0.2.0.0
-- A short (one-line) description of the package.
synopsis: Plutus Hello World
-- A longer description of the package.
description: A simple plutus starter template
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: rvcas
maintainer: [email protected]
-- 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
build-depends: base ^>=4.14.3.0
ghc-options:
-Wall -fobject-code -fno-ignore-interface-pragmas
-fno-omit-interface-pragmas -fno-strictness -fno-spec-constr
-fno-specialise
if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
library
import: lang
exposed-modules:
Hello.Contract
Hello.Shared
Hello.Utils
hs-source-dirs: src
build-depends:
, bytestring
, cardano-api
, filepath
, plutus-core
, plutus-ledger-api
, plutus-tx
, plutus-tx-plugin
, serialise
, aeson
executable plutus-starter-kit
import: lang
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
hs-source-dirs: app
default-language: Haskell2010
ghc-options: -Wall -Werror -threaded -rtsopts -with-rtsopts=-T
build-depends:
, optparse-applicative
, plutus-starter-kit