wpkg --verify-control

Options Comments
--verbose Display more information while verifying the project.

The --verify-control command is used to validate a control file. The function supports the two formats supported by wpkg: a plain control file, or a control.info file.

The function loads the specified control files and prints errors if any.

When errors are detected, wpkg returns with 1. If all the control files read were all considered valid, then wpkg returns 0.

Note that being able to read a control file does not mean that the content as a whole in a complete wpkg environment is valid. For example it is an error to have a Depends naming a package with a priority set to low. Yet it is not possible to determine such a thing unless you have most of the packages, not just one control file.

Syndicate content