The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

use ExtUtils::Manifest qw(fullcheck);
if ($ENV{"CI"}) {
plan tests => 2;
my($missing, $extra) = fullcheck();
ok(!@$missing, "MANIFEST contains outdated files: \n\t".join("\n\t", @$missing));
ok(!@$extra, "Files missing from MANIFEST: \n\t".join("\n\t", @$extra));
} else {
plan skip_all => "Only checked in continuous integration. (use make test CI=true)";
}
done_testing();