compaREST/openapi-diff.cabal

123 lines
3.9 KiB
Plaintext
Raw Normal View History

2021-02-24 09:44:45 +03:00
cabal-version: 2.4
2021-02-25 14:25:50 +03:00
name: openapi-diff
2021-02-24 09:44:45 +03:00
version: 0.0.0.0
synopsis: Compatibility checker for OpenAPI
description: Compatibility checker for OpenAPI
license: MIT
license-file: LICENSE
author: Aleksey Uymanov
maintainer: Aleksey Uymanov <s9gf4ult@gmail.com>
copyright: 2021 Aleksey Uymanov
category: Web
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 8.10.4
2021-02-24 09:44:45 +03:00
common common-options
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
default-language: Haskell2010
build-depends: base >= 4.12.0.0 && < 4.15
2021-02-25 08:13:20 +03:00
, aeson
2021-03-05 15:07:53 +03:00
, deriving-aeson
2021-02-25 14:04:55 +03:00
, containers
2021-02-26 10:59:11 +03:00
, generic-monoid
2021-02-25 08:13:20 +03:00
, insert-ordered-containers
2021-02-26 13:43:44 +03:00
, lens
, mtl
2021-02-25 08:13:20 +03:00
, openapi3
, text
2021-02-26 13:43:44 +03:00
, transformers
2021-03-05 15:07:53 +03:00
, yaml
, attoparsec
2021-03-09 17:06:01 +03:00
, optparse-applicative
2021-02-25 14:04:55 +03:00
2021-02-25 08:13:20 +03:00
default-extensions: ConstraintKinds
, DataKinds
2021-03-05 15:07:53 +03:00
, DeriveAnyClass
2021-02-25 08:13:20 +03:00
, DeriveFoldable
, DeriveFunctor
, DeriveGeneric
, DeriveTraversable
2021-03-05 15:07:53 +03:00
, DerivingStrategies
, DerivingVia
2021-02-25 08:13:20 +03:00
, DuplicateRecordFields
, FlexibleContexts
, FlexibleInstances
, FunctionalDependencies
, GADTs
, GeneralizedNewtypeDeriving
, LambdaCase
, MultiParamTypeClasses
, MultiWayIf
, NamedFieldPuns
, NumDecimals
, OverloadedStrings
, PolyKinds
, QuasiQuotes
, RankNTypes
, RecordWildCards
, ScopedTypeVariables
, StandaloneDeriving
, TemplateHaskell
, TupleSections
, TypeApplications
, TypeFamilies
, TypeOperators
, UndecidableInstances
, ViewPatterns
2021-02-24 09:44:45 +03:00
library
import: common-options
hs-source-dirs: src
2021-02-26 10:59:11 +03:00
exposed-modules: OpenAPI.Checker.Aux
, OpenAPI.Checker.Report
2021-02-25 08:13:20 +03:00
, OpenAPI.Checker.Run
, OpenAPI.Checker.Validate
2021-02-28 18:19:30 +03:00
, OpenAPI.Checker.Validate.Dereference
2021-02-25 08:13:20 +03:00
, OpenAPI.Checker.Validate.Monad
2021-03-09 17:06:01 +03:00
, OpenAPI.Checker.Options
2021-02-24 09:44:45 +03:00
2021-02-25 14:25:50 +03:00
executable openapi-diff
2021-02-24 09:44:45 +03:00
import: common-options
hs-source-dirs: app
main-is: Main.hs
2021-02-25 14:25:50 +03:00
build-depends: openapi-diff
2021-02-24 09:44:45 +03:00
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
2021-02-25 14:25:50 +03:00
test-suite openapi-diff-test
2021-02-24 09:44:45 +03:00
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
2021-03-05 15:07:53 +03:00
other-modules:
Spec.Golden.Report
Spec.Golden.Extra
Spec.Golden.ReportTree
build-depends:
, openapi-diff
, tasty-golden
, tasty
, bytestring
, aeson
, yaml
, directory
, filepath
2021-02-24 09:44:45 +03:00
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N