NAME
Test::CheckManifest - Check if your Manifest matches your distro
SYNOPSIS
use Test::CheckManifest;
ok_manifest();
DESCRIPTION
Test::CheckManifest
EXPORT
There is only one method exported: ok_manifest
METHODS
ok_manifest [{exlude => $arref}][$msg]
checks whether the Manifest file matches the distro or not. To match a distro the Manifest has to name all files that come along with the distribution.
To check the Manifest file, this module searches for a file named MANIFEST
.
To exclude some directories from this test, you can specify these dirs in the hashref.
ok_manifest({exclude => ['/var/test/']});
is ok if the files in /path/to/your/dist/var/test/
are not named in the MANIFEST
file. That means that the paths in the exclude array must be "pseudo-absolute" (absolute to your distribution).
AUTHOR
Renee Baecker, <module@renee-baecker.de>
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Renee Baecker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.