bumped cabal-version field (#1498)

* bumped cabal-version field

Cabal supports two types of licenses, native and SPDX, which can be seen here hackage.haskell.org/package/Cabal-3.6.2.0/docs/Distribution-Types-PackageDescription.html#v:licenseRaw

Several packages use BSD-3-Clause as a license, in conjonction with cabal-version: >=1.10 which cabal parses as Right (UnknownLicense "BSD-3").
If I change teh cabal-version to cabal-version: 2.2 , cabal correctly identifdies the license License (ELicense (ELicenseId BSD_3_Clause)).

* changed license from cabal to spdx format

aka BSD3 -> BSD-3-Clause: next cabal may deprecate the old format
This commit is contained in:
Matthieu Coudron 2022-01-04 22:06:23 +01:00 committed by GitHub
parent 29d2553e74
commit 73c87bc2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 43 additions and 43 deletions

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-basic-auth name: cookbook-basic-auth
version: 0.1 version: 0.1
synopsis: Basic Authentication cookbook example synopsis: Basic Authentication cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-basic-auth executable cookbook-basic-auth

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-basic-streaming name: cookbook-basic-streaming
version: 2.1 version: 2.1
synopsis: Streaming in servant without streaming libs synopsis: Streaming in servant without streaming libs
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-basic-streaming executable cookbook-basic-streaming

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-curl-mock name: cookbook-curl-mock
version: 0.1 version: 0.1
synopsis: Generate curl mock requests cookbook example synopsis: Generate curl mock requests cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbock-curl-mock executable cookbock-curl-mock

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-custom-errors name: cookbook-custom-errors
version: 0.1 version: 0.1
synopsis: Return custom error messages from combinators synopsis: Return custom error messages from combinators
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-custom-errors executable cookbook-custom-errors

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: mysql-basics name: mysql-basics
version: 0.1.0.0 version: 0.1.0.0
synopsis: Simple MySQL API cookbook example synopsis: Simple MySQL API cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
executable run executable run
hs-source-dirs: . hs-source-dirs: .

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-db-postgres-pool name: cookbook-db-postgres-pool
version: 0.1 version: 0.1
synopsis: Simple PostgreSQL connection pool cookbook example synopsis: Simple PostgreSQL connection pool cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-db-postgres-pool executable cookbook-db-postgres-pool

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-db-sqlite-simple name: cookbook-db-sqlite-simple
version: 0.1 version: 0.1
synopsis: Simple SQLite DB cookbook example synopsis: Simple SQLite DB cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-db-sqlite-simple executable cookbook-db-sqlite-simple

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-file-upload name: cookbook-file-upload
version: 0.1 version: 0.1
synopsis: File upload cookbook example synopsis: File upload cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-file-upload executable cookbook-file-upload

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-generic name: cookbook-generic
version: 0.1 version: 0.1
synopsis: Using custom monad to pass a state between handlers synopsis: Using custom monad to pass a state between handlers
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-using-custom-monad executable cookbook-using-custom-monad

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-hoist-server-with-context name: cookbook-hoist-server-with-context
version: 0.0.1 version: 0.0.1
synopsis: JWT and basic access authentication with a Custom Monad cookbook example synopsis: JWT and basic access authentication with a Custom Monad cookbook example
@ -10,7 +11,6 @@ author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
category: Servant category: Servant
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-hoist-server-with-context executable cookbook-hoist-server-with-context

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-https name: cookbook-https
version: 0.1 version: 0.1
synopsis: HTTPS cookbook example synopsis: HTTPS cookbook example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-https executable cookbook-https

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-jwt-and-basic-auth name: cookbook-jwt-and-basic-auth
version: 0.0.1 version: 0.0.1
synopsis: JWT and basic access authentication cookbook example synopsis: JWT and basic access authentication cookbook example
@ -10,7 +11,6 @@ author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
category: Servant category: Servant
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-jwt-and-basic-auth executable cookbook-jwt-and-basic-auth

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: open-id-connect name: open-id-connect
version: 0.1 version: 0.1
synopsis: OpenId Connect with Servant example synopsis: OpenId Connect with Servant example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >= 1.10
tested-with: GHC==8.6.5 tested-with: GHC==8.6.5
executable cookbook-openidconnect executable cookbook-openidconnect

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-pagination name: cookbook-pagination
version: 2.1 version: 2.1
synopsis: Pagination with Servant example synopsis: Pagination with Servant example
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-pagination executable cookbook-pagination

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-sentry name: cookbook-sentry
version: 0.1 version: 0.1
synopsis: Collecting runtime exceptions using Sentry synopsis: Collecting runtime exceptions using Sentry
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-sentry executable cookbook-sentry

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-structuring-apis name: cookbook-structuring-apis
version: 0.1 version: 0.1
synopsis: Example that shows how APIs can be structured synopsis: Example that shows how APIs can be structured
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-structuring-apis executable cookbook-structuring-apis

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-testing name: cookbook-testing
version: 0.0.1 version: 0.0.1
synopsis: Common testing patterns in Servant apps synopsis: Common testing patterns in Servant apps
@ -9,7 +10,6 @@ author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
category: Servant category: Servant
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-testing executable cookbook-testing

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-using-custom-monad name: cookbook-using-custom-monad
version: 0.1 version: 0.1
synopsis: Using custom monad to pass a state between handlers synopsis: Using custom monad to pass a state between handlers
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-using-custom-monad executable cookbook-using-custom-monad

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-using-free-client name: cookbook-using-free-client
version: 0.1 version: 0.1
synopsis: Using Free client synopsis: Using Free client
@ -7,7 +8,6 @@ license-file: ../../../servant/LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.3, GHC ==8.10.7
executable cookbook-using-free-client executable cookbook-using-free-client

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: cookbook-uverb name: cookbook-uverb
version: 0.0.1 version: 0.0.1
synopsis: How to use the 'UVerb' type. synopsis: How to use the 'UVerb' type.
@ -9,7 +10,6 @@ author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
category: Servant category: Servant
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.7 tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.7
executable cookbook-uverb executable cookbook-uverb

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: tutorial name: tutorial
version: 0.10 version: 0.10
synopsis: The servant tutorial synopsis: The servant tutorial
@ -11,7 +12,6 @@ license-file: LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
build-type: Simple build-type: Simple
cabal-version: >=1.10
tested-with: tested-with:
GHC==8.6.5 GHC==8.6.5
GHC==8.8.3, GHC ==8.10.7 GHC==8.8.3, GHC ==8.10.7

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: servant-auth-client name: servant-auth-client
version: 0.4.1.0 version: 0.4.1.0
synopsis: servant-client/servant-auth compatibility synopsis: servant-client/servant-auth compatibility
@ -17,7 +18,6 @@ license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
build-type: Simple build-type: Simple
cabal-version: >= 1.10
extra-source-files: extra-source-files:
CHANGELOG.md CHANGELOG.md

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: servant-auth-docs name: servant-auth-docs
version: 0.2.10.0 version: 0.2.10.0
synopsis: servant-docs/servant-auth compatibility synopsis: servant-docs/servant-auth compatibility
@ -17,7 +18,6 @@ license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
build-type: Custom build-type: Custom
cabal-version: >= 1.10
extra-source-files: extra-source-files:
CHANGELOG.md CHANGELOG.md

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: servant-auth-server name: servant-auth-server
version: 0.4.6.0 version: 0.4.6.0
synopsis: servant-server/servant-auth compatibility synopsis: servant-server/servant-auth compatibility
@ -17,7 +18,6 @@ license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
build-type: Simple build-type: Simple
cabal-version: >= 1.10
extra-source-files: extra-source-files:
CHANGELOG.md CHANGELOG.md

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: servant-auth-swagger name: servant-auth-swagger
version: 0.2.10.1 version: 0.2.10.1
synopsis: servant-swagger/servant-auth compatibility synopsis: servant-swagger/servant-auth compatibility
@ -17,7 +18,6 @@ license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
build-type: Simple build-type: Simple
cabal-version: >= 1.10
extra-source-files: extra-source-files:
CHANGELOG.md CHANGELOG.md

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: servant-auth name: servant-auth
version: 0.4.0.0 version: 0.4.0.0
synopsis: Authentication combinators for servant synopsis: Authentication combinators for servant
@ -19,7 +20,6 @@ license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
build-type: Simple build-type: Simple
cabal-version: >= 1.10
extra-source-files: extra-source-files:
CHANGELOG.md CHANGELOG.md

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-client-core name: servant-client-core
version: 0.18.3 version: 0.18.3

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-client-ghcjs name: servant-client-ghcjs
version: 0.16 version: 0.16
synopsis: synopsis:

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-client name: servant-client
version: 0.18.3 version: 0.18.3

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-conduit name: servant-conduit
version: 0.15.1 version: 0.15.1

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-docs name: servant-docs
version: 0.11.9 version: 0.11.9

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-foreign name: servant-foreign
version: 0.15.4 version: 0.15.4

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-http-streams name: servant-http-streams
version: 0.18.3 version: 0.18.3

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-machines name: servant-machines
version: 0.15.1 version: 0.15.1

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-pipes name: servant-pipes
version: 0.15.3 version: 0.15.3
@ -51,7 +51,7 @@ test-suite example
, bytestring , bytestring
, http-media , http-media
, servant , servant
, pipes , pipes
, pipes-safe , pipes-safe
, servant-pipes , servant-pipes
, pipes-bytestring >=2.1.6 && <2.2 , pipes-bytestring >=2.1.6 && <2.2

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant-server name: servant-server
version: 0.18.3 version: 0.18.3

View File

@ -1,15 +1,15 @@
cabal-version: 2.2
name: example name: example
version: 1.0 version: 1.0
synopsis: servant-swagger demonstration synopsis: servant-swagger demonstration
description: servant-swagger demonstration description: servant-swagger demonstration
license: BSD3 license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
author: David Johnson, Nickolay Kudasov author: David Johnson, Nickolay Kudasov
maintainer: nickolay.kudasov@gmail.com maintainer: nickolay.kudasov@gmail.com
copyright: (c) 2015-2016, Servant contributors copyright: (c) 2015-2016, Servant contributors
category: Web category: Web
build-type: Simple build-type: Simple
cabal-version: >=1.10
data-files: data-files:
swagger.json swagger.json

View File

@ -1,3 +1,4 @@
cabal-version: 2.2
name: servant-swagger name: servant-swagger
version: 1.1.11 version: 1.1.11
synopsis: Generate a Swagger/OpenAPI/OAS 2.0 specification for your servant API. synopsis: Generate a Swagger/OpenAPI/OAS 2.0 specification for your servant API.
@ -20,14 +21,13 @@ description:
* and [many others](http://swagger.io/open-source-integrations/). * and [many others](http://swagger.io/open-source-integrations/).
homepage: https://github.com/haskell-servant/servant/servant-swagger homepage: https://github.com/haskell-servant/servant/servant-swagger
bug-reports: https://github.com/haskell-servant/servant/issues bug-reports: https://github.com/haskell-servant/servant/issues
license: BSD3 license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
author: Servant Contributors author: Servant Contributors
maintainer: haskell-servant-maintainers@googlegroups.com maintainer: haskell-servant-maintainers@googlegroups.com
copyright: (c) 2015-2018, Servant contributors copyright: (c) 2015-2018, Servant contributors
category: Web, Servant, Swagger category: Web, Servant, Swagger
build-type: Custom build-type: Custom
cabal-version: 1.18
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2
extra-source-files: extra-source-files:

View File

@ -1,4 +1,4 @@
cabal-version: >=1.10 cabal-version: 2.2
name: servant name: servant
version: 0.18.3 version: 0.18.3

View File

@ -319,7 +319,7 @@ fromActionStep stop action = loop where
-- | Read file. -- | Read file.
-- --
-- >>> foreach fail BS.putStr (readFile "servant.cabal") -- >>> foreach fail BS.putStr (readFile "servant.cabal")
-- cabal-version: >=1.10 -- cabal-version: 2.2
-- name: servant -- name: servant
-- ... -- ...
-- --