The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

validate_pgxn_meta - Validate the structure of a PGXN META.json file

Usage

  validate_pgxn_meta META.json

Options

  -h --help     Print a usage statement and exit.
  -M --man      Print the complete documentation and exit.
  -v --version  Print the version number and exit.

Output

If META.json valid, the output will be:

  META.json is OK

If it's not valid, the output will look something like:

  META.json is invalid. Errors:
    Missing mandatory field, 'license' (license) [Validation: 1.0.0]

See Also

PGXN::Meta::Validator is the class that does the actual validation, and may be used programmatically.

Author

David E. Wheeler <david@kineticode.com>

Copyright and License

Copyright (c) 2011 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.