| 1 | package Dist::Zilla::Role::BeforeArchive 6.040; | ||
| 2 | # ABSTRACT: something that runs before the archive file is built | ||
| 3 | |||
| 4 | 1 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | with 'Dist::Zilla::Role::Plugin'; | |
| 6 | |||
| 7 | 1 | ▶ | use Dist::Zilla::Pragmas; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | #pod =head1 DESCRIPTION | ||
| 12 | #pod | ||
| 13 | #pod Plugins implementing this role have their C<before_archive> method | ||
| 14 | #pod called before the archive is actually built. | ||
| 15 | #pod | ||
| 16 | #pod =cut | ||
| 17 | |||
| 18 | 1 | requires 'before_archive'; | |
| 19 | |||
| 20 | 1 | 1; | |
| 21 | |||
| 22 | __END__ | ||