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

(cabal check) Add "Autogen include" test

All in `autogen-includes` hs to be in either `includes` or
`install-includes`.
parent 35fcb0eb
No related branches found
No related tags found
No related merge requests found
# cabal check
Warning: The package will not build sanely due to these errors:
Warning: An include in 'autogen-includes' is neither in 'includes' or 'install-includes'.
Warning: Hackage would reject this package.
import Test.Cabal.Prelude
-- All `autogen-includes` should appear in `install-includes` or
-- `includes`.
main = cabalTest $
fails $ cabal "check" []
cabal-version: 3.0
name: pkg
synopsis: synopsis
description: description
version: 0
category: example
maintainer: none@example.com
license: GPL-3.0-or-later
library
exposed-modules: Foo
default-language: Haskell2010
autogen-includes: AutoGenInc
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