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
Download (untitled) / with headers
text/plain 247b
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
Download Build.patch
text/x-diff 604b
*** 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
Download Base.patch
text/x-diff 525b
*** 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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.