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

(cabal check) Add "No `main-is`" test

parent 395f94db
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: No 'main-is' field found for executable exe
Warning: Hackage would reject this package.
import Test.Cabal.Prelude
-- Missing `main-is`.
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
executable exe
default-language: Haskell2010
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