Skip to content
Snippets Groups Projects
Commit 3106faee authored by f-a's avatar f-a Committed by Mergify
Browse files

(cabal check) Add "Version signatures" test

`signatures` field can be used only with `cabal-version` ≥ 2.0
parent 4a958430
No related branches found
No related tags found
No related merge requests found
# cabal check
Warning: These warnings may cause trouble when distributing the package:
Warning: pkg.cabal:17:3: The field "signatures" is available only since the Cabal specification version 2.0. This field will be ignored.
import Test.Cabal.Prelude
-- `signatures` field used with cabal-version < 2.0
main = cabalTest $
fails $ cabal "check" []
cabal-version: 1.24
build-type: Custom
name: pkg
synopsis: synopsis
description: description
version: 0
category: example
maintainer: none@example.com
license: GPL-3
license-file: LICENSE
custom-setup
library
exposed-modules: Foo
default-language: Haskell2010
signatures: Str
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment