Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 17733
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: yanick+cpan [...] babyl.dyndns.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.27_07
Fixed in: (no value)



Subject: Adding action testpodcoverage
In addition to the already existing testpod, it would be nifty to have an action testpodcoverage for Test::Pod::Coverage. Patch attached for Module::Build::Base (added function ACTION_testpodcoverage) and Module::Build (pod for testpodcoverage).
Subject: Build.patch
*** Build.pm Sat Feb 18 19:08:40 2006 --- Module/Build.pm Sat Feb 18 19:19:38 2006 *************** This checks all the files described in t *** 1319,1324 **** --- 1319,1330 ---- produces C<Test::Harness>-style output. If you are a module author, this is useful to run before creating a new release. + =item testpodcoverage + + This checks the pod coverage of the distribution and + produces C<Test::Harness>-style output. If you are a module author, + this is useful to run before creating a new release. + =item clean This action will clean up any files that the build process may have
Subject: Base.patch
*** Base.pm Sat Feb 18 19:16:46 2006 --- Module/Build/Base.pm Sat Feb 18 19:17:42 2006 *************** sub ACTION_testpod { *** 1686,1691 **** --- 1686,1703 ---- } } + 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; $self->depends_on('code');
Thanks, applied. -Ken