Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31455/lib/Module/Build
Modified Files:
Base.pm
Log Message:
Add a testpodcoverage action
Index: Base.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v
retrieving revision 1.551
retrieving revision 1.552
diff -u -d -r1.551 -r1.552
--- Base.pm 2 Mar 2006 21:28:09 -0000 1.551
+++ Base.pm 4 Mar 2006 03:59:28 -0000 1.552
@@ -2172,6 +2172,18 @@
}
}
+sub ACTION_testpodcoverage {
+ my $self = shift;
+
+ $self->depends_on('docs');
+
+ eval q{use Test::Pod::Coverage 1.00; 1}
+ or die "The 'testpodcoverage' action requires ",
+ "Test::Pod::Coverage version 1.00";
+
+ all_pod_coverage_ok();
+}
+
sub ACTION_docs {
my $self = shift;
|