-
Notifications
You must be signed in to change notification settings - Fork 0
/
plutus-starter.cabal
60 lines (52 loc) · 1.44 KB
/
plutus-starter.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
cabal-version: 2.4
name: plutus-starter
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
author: Your name
maintainer: Your email
-- 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
executable plutus-starter
import: lang
main-is: Main.hs
build-depends:
base >= 4.9 && < 5,
aeson,
bytestring,
containers,
freer-extras,
playground-common,
plutus-contract,
plutus-tx-plugin,
plutus-tx,
plutus-ledger,
text,
data-default,
plutus-ledger-api,
prettyprinter
hs-source-dirs: examples/src
other-modules: Example