| 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 Module::Build::Kwalitee; | ||
| 9 | 52 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 52 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 52 | ▶ | use base 'Module::Build'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | # add extra build requirements | ||
| 15 | 0 | ▶ | sub build_requires { |
|
Subroutine
build_requires: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 16 | 0 | my $self = shift; | |
| 17 | return { | ||
| 18 | 0 | %{ $self->SUPER::build_requires }, | |
| 19 | 'File::Find::Rule' => 0, | ||
| 20 | 'Test::More' => 0, | ||
| 21 | }; | ||
| 22 | } | ||
| 23 | |||
| 24 | # add extra recommends | ||
| 25 | 0 | ▶ | sub recommends { |
|
Subroutine
recommends: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 26 | 0 | my $self = shift; | |
| 27 | return { | ||
| 28 | 0 | %{ $self->SUPER::recommends }, | |
| 29 | 'Test::Pod' => 0, | ||
| 30 | 'Pod::Coverage::CountParents' => 0, | ||
| 31 | 'IPC::Open3' => 0, | ||
| 32 | }; | ||
| 33 | } | ||
| 34 | |||
| 35 | 52 | 1; | |