-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagora-effect-registry.cabal
152 lines (139 loc) · 3.38 KB
/
agora-effect-registry.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
140
141
142
143
144
145
146
147
148
149
150
151
152
cabal-version: 3.0
name: agora-effect-registry
version: 1.1.1
extra-source-files: CHANGELOG.md
author: Emily Martins <[email protected]>
license: Apache-2.0
--------------------------------------------------------------------------------
-- Common Stanza Declarations
-- Language options, warnings, some options for plutus
data-files:
effects/**/*.json
test/**/*.json
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
-Wredundant-constraints -fprint-explicit-foralls
-fprint-explicit-kinds
default-extensions:
NoStarIsType
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveGeneric
DeriveTraversable
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GeneralisedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NumericUnderscores
OverloadedLabels
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
NoFieldSelectors
default-language: Haskell2010
common deps
build-depends:
, aeson
, base >=4.14 && <5
, base-compat
, base16
, bytestring
, containers
, extra
, generics-sop
, gitrev
, liqwid-plutarch-extra
, mtl
, optics-core
, optics-th
, plutarch
, plutus-core
, plutus-ledger-api
, template-haskell
, text
, transformers
, utf8-string
, vector
common server-deps
build-depends:
, cache
, cardano-binary
, cborg
, clock
, http-types
, optparse-applicative
, prettyprinter
, serialise
, servant
, servant-server
, wai
, wai-app-static
, wai-cors
, warp
library
import: lang, deps
hs-source-dirs: agora-effect-registry
exposed-modules:
AgoraRegistry.DatumValidation
AgoraRegistry.Generation
AgoraRegistry.Generation.Plutarch
AgoraRegistry.Parsing
AgoraRegistry.Schema
library agora-effect-registry-server
import: lang, deps, server-deps
hs-source-dirs: agora-effect-registry-server
exposed-modules:
AgoraRegistry.Server.Api
AgoraRegistry.Server.AppM
AgoraRegistry.Server.EffectRegistry
AgoraRegistry.Server.Options
AgoraRegistry.Server.Server
AgoraRegistry.Server.Types
build-depends: agora-effect-registry
executable agora-effect-registry-exe
import: lang, deps, server-deps
hs-source-dirs: agora-effect-registry-exe
main-is: Main.hs
other-modules: Options
build-depends:
, agora-effect-registry
, agora-effect-registry-server
test-suite agora-effect-registry-test
import: lang, deps
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: agora-effect-registry-test
build-depends:
, agora-effect-registry
, agora-effect-registry-server
, filepath
, hspec
, hspec-wai
, http-types
, servant-client
, servant-server
, wai-extra
other-modules:
ApiTests
CodeGenTests
FixtureTests