| 1 | # This is not really Module::Build::Kwalitee; it is just a stub | ||
| 2 | # shipped with distributions using Moudle::Build::Kwalitee to | ||
| 3 | # provide boilerplate tests. This stub is here to get around the | ||
| 4 | # bootstrapping problem associated with subclassing | ||
| 5 | # Module::Build. It simply adds the dependencies for | ||
| 6 | # Module::Build::Kwalitee's tests. | ||
| 7 | |||
| 8 | package # Hide from CPAN | ||
| 9 | Module::Build::Kwalitee; | ||
| 10 | |||
| 11 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | ▶ | use base 'Module::Build'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | # add extra build requirements | ||
| 17 | 0 | ▶ | sub build_requires { |
|
Subroutine
build_requires: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | my $self = shift; | |
| 19 | return { | ||
| 20 | 0 | %{ $self->SUPER::build_requires }, | |
| 21 | 'File::Find::Rule' => 0, | ||
| 22 | 'Test::More' => 0, | ||
| 23 | }; | ||
| 24 | } | ||
| 25 | |||
| 26 | # add extra recommends | ||
| 27 | 0 | ▶ | sub recommends { |
|
Subroutine
recommends: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 28 | 0 | my $self = shift; | |
| 29 | return { | ||
| 30 | 0 | %{ $self->SUPER::recommends }, | |
| 31 | 'Test::Pod' => 0, | ||
| 32 | 'Pod::Coverage::CountParents' => 0, | ||
| 33 | 'IPC::Open3' => 0, | ||
| 34 | }; | ||
| 35 | } | ||
| 36 | |||
| 37 | 1 | 1; | |