cabal-install-3.14.2.0: The command-line interface for Cabal and Hackage.
Copyright(c) Lennart Kolmodin 2008
LicenseBSD-like
Maintainer[email protected]
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Check

Description

Check a package for common mistakes

Synopsis

Documentation

check Source #

Arguments

:: Verbosity 
-> [CheckExplanationIDString]

List of check-ids in String form (e.g. invalid-path-win) to ignore.

-> IO Bool 

Checks a packge for common errors. Returns True if the package is fit to upload to Hackage, False otherwise. Note: must be called with the CWD set to the directory containing the '.cabal' file.