check-module - Checks module directory to see if it is ok.
check-module [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--dofix] [filename ...]
check-module --help
check-module checks each files given to it, and if they are directories, then files inside those directories, and checks if it is valid module file. It will parse each gff file, and also verifies that the area name lists in the module.ifo and files on the directory match, and that each area has all required area files. If this program prints error from the module.ifo, then you can use the update-ifo program to fix those errors.
If no arguments is given, then '*' is assumed.
If --dofix option is given then it will try to fix the invalid variable type errors. It WILL overwrite the files with errors, so make backup before using this option.
check-module temp0/*.* check-module -v temp0 check-module
update-ifo(1), gffprint(1), Gff(3), and GffRead(3).
Tero Kivinen <kivinen@iki.fi>.
This is using the gffprint program as a template, but skip the printing of the data, and instead only parses the gff files. Area file list checking was copied fromt he fixupmodule.pl used in the cerea2 build process.