forked from Liqwid-Labs/liqwid-script-export
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplutarch-script-export.cabal
139 lines (129 loc) · 2.91 KB
/
plutarch-script-export.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
cabal-version: 3.0
name: plutarch-script-export
version: 1.0.0
extra-source-files: CHANGELOG.md
author: Emily Martins <[email protected]>
license: Apache-2.0
--------------------------------------------------------------------------------
-- Common Stanza Declarations
-- Language options, warnings, some options for plutus
common lang
ghc-options:
-Werror -Wall -Wcompat -Wincomplete-uni-patterns
-Wno-unused-do-bind -Wno-partial-type-signatures
-Wmissing-export-lists -Wincomplete-record-updates
-Wmissing-deriving-strategies -Wno-name-shadowing -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds
default-extensions:
NoStarIsType
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
DoAndIfThenElse
DuplicateRecordFields
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MonomorphismRestriction
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NumericUnderscores
OverloadedLabels
OverloadedStrings
PackageImports
PartialTypeSignatures
PatternGuards
PolyKinds
PostfixOperators
QualifiedDo
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TupleSections
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
ViewPatterns
OverloadedRecordDot
default-language: Haskell2010
common deps
build-depends:
, aeson
, ansi-terminal
, base >=4.14 && <5
, base-compat
, base16
, bytestring
, cache
, cardano-binary
, clock
, containers
, data-default
, data-default-class
, generics-sop
, gitrev
, hashable
, http-types
, optparse-applicative
, plutarch
, plutus-core
, plutus-ledger-api
, plutus-tx
, prettyprinter
, recursion-schemes
, serialise
, servant
, servant-server
, tagged
, template-haskell
, text
, wai
, wai-cors
, warp
mixins:
library
import: lang, deps
hs-source-dirs: src
exposed-modules:
ScriptExport.API
ScriptExport.Options
ScriptExport.ScriptInfo
ScriptExport.Types
other-modules:
Aeson.Orphans
Codec.Serialise.Orphans
Data.Cache.Cached
executable example
import: lang, deps
hs-source-dirs: example
main-is: Main.hs
build-depends: plutarch-script-export