-
Notifications
You must be signed in to change notification settings - Fork 2
/
compaREST.cabal
227 lines (219 loc) · 7.3 KB
/
compaREST.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
cabal-version: 2.4
name: compaREST
version: 0.1.0.1
synopsis: Compatibility checker for OpenAPI
description: Compatibility checker for OpenAPI.
license: MIT
license-file: LICENSE
author: Typeable
maintainer: [email protected]
copyright: 2021 Typeable
category: Web
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 9.6
extra-source-files: css/awsm.min.css
extra-source-files:
test/golden/**/*.yaml
test/golden/**/*.md
common common-options
ghc-options:
-Weverything
-Wno-implicit-prelude
-Wno-missing-safe-haskell-mode
-Wno-safe
-Wno-prepositive-qualified-module
-Wno-missing-import-lists
-Wno-missing-kind-signatures
-Wno-partial-fields
-Wno-all-missed-specialisations
-Wno-missing-local-signatures
-Wno-unsafe
-fconstraint-solver-iterations=0
default-language: Haskell2010
build-depends: base >= 4.12.0.0 && < 5
, text
default-extensions: ApplicativeDo
, BangPatterns
, ConstraintKinds
, DataKinds
, DeriveAnyClass
, DeriveFoldable
, DeriveFunctor
, DeriveGeneric
, DeriveTraversable
, DerivingStrategies
, DerivingVia
, DuplicateRecordFields
, EmptyDataDeriving
, FlexibleContexts
, FlexibleInstances
, FunctionalDependencies
, GADTs
, GeneralizedNewtypeDeriving
, LambdaCase
, MultiParamTypeClasses
, MultiWayIf
, NamedFieldPuns
, NumDecimals
, OverloadedStrings
, PatternSynonyms
, PolyKinds
, QuasiQuotes
, RankNTypes
, RecordWildCards
, ScopedTypeVariables
, StandaloneDeriving
, TemplateHaskell
, TupleSections
, TypeApplications
, TypeFamilies
, TypeOperators
, UndecidableInstances
, ViewPatterns
, QuantifiedConstraints
, DefaultSignatures
library
import: common-options
build-depends:
, pcre2
, open-union
, vector
, unordered-containers
, type-fun
, typerep-map
, tagged
, scientific
, pandoc-types
, openapi3
, lattices
, insert-ordered-containers
, http-media
, hashable
, free
, containers
, comonad
, attoparsec
, transformers
, mtl
, aeson
, generic-data
, doctemplates
, file-embed
, data-default
, ordered-containers
, bytestring
hs-source-dirs: src
exposed-modules: Data.OpenApi.Compare.Behavior
, Data.OpenApi.Compare.Common
, Data.OpenApi.Compare.Formula
, Data.OpenApi.Compare.Memo
, Data.OpenApi.Compare.Orphans
, Data.OpenApi.Compare.Paths
, Data.OpenApi.Compare.PathsPrefixTree
, Data.OpenApi.Compare.References
, Data.OpenApi.Compare.Report
, Data.OpenApi.Compare.Report.Html.Template
, Data.OpenApi.Compare.Report.Jet
, Data.OpenApi.Compare.Run
, Data.OpenApi.Compare.Subtree
, Data.OpenApi.Compare.Validate.Header
, Data.OpenApi.Compare.Validate.Link
, Data.OpenApi.Compare.Validate.MediaTypeObject
, Data.OpenApi.Compare.Validate.OAuth2Flows
, Data.OpenApi.Compare.Validate.OpenApi
, Data.OpenApi.Compare.Validate.Operation
, Data.OpenApi.Compare.Validate.Param
, Data.OpenApi.Compare.Validate.PathFragment
, Data.OpenApi.Compare.Validate.Products
, Data.OpenApi.Compare.Validate.RequestBody
, Data.OpenApi.Compare.Validate.Responses
, Data.OpenApi.Compare.Validate.Schema
, Data.OpenApi.Compare.Validate.Schema.DNF
, Data.OpenApi.Compare.Validate.Schema.Issues
, Data.OpenApi.Compare.Validate.Schema.JsonFormula
, Data.OpenApi.Compare.Validate.Schema.Partition
, Data.OpenApi.Compare.Validate.Schema.Process
, Data.OpenApi.Compare.Validate.Schema.Traced
, Data.OpenApi.Compare.Validate.Schema.TypedJson
, Data.OpenApi.Compare.Validate.SecurityRequirement
, Data.OpenApi.Compare.Validate.SecurityScheme
, Data.OpenApi.Compare.Validate.Server
, Data.OpenApi.Compare.Validate.Sums
other-modules: Data.HList
, Data.OpenUnion.Extra
executable compaREST
import: common-options
hs-source-dirs: app
main-is: Main.hs
build-depends:
compaREST
, pandoc
, data-default
, bytestring
, yaml
, filepath
, optparse-applicative
, mtl
, aeson
, containers
, doctemplates
, pandoc-types
, prettyprinter-compat-ansi-wl-pprint
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
other-modules:
FormatHeuristic
Data.OpenApi.Compare.Options
executable compaREST-GitHub-Action
import: common-options
hs-source-dirs: github-action
main-is: Main.hs
build-depends:
compaREST
, pandoc
, yaml
, aeson
, github
, freer-simple
, vector
, pandoc-types
, envy
, filepath
, bytestring
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
other-modules:
Control.Monad.Freer.GitHub
CompaREST.GitHub.API
CompaREST.GitHub.Action.Config
GitHub.Data.Checks
GitHub.Endpoints.Checks
test-suite compaREST-tests
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Spec.Golden.Extra
Spec.Golden.TraceTree
Paths_compaREST
autogen-modules: Paths_compaREST
build-depends:
, compaREST
, tasty-golden
, tasty
, bytestring
, yaml
, directory
, filepath
, pandoc
, data-default
, lens
, pandoc-types
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N