| 1 | package Dist::Zilla::Role::ReleaseStatusProvider 6.040; | ||
| 2 | # ABSTRACT: something that provides a release status for the dist | ||
| 3 | |||
| 4 | 3 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | with 'Dist::Zilla::Role::Plugin'; | |
| 6 | |||
| 7 | 3 | ▶ | use Dist::Zilla::Pragmas; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 3 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | #pod =head1 DESCRIPTION | ||
| 12 | #pod | ||
| 13 | #pod Plugins implementing this role must provide a C<provide_release_status> | ||
| 14 | #pod method that will be called when setting the dist's version. | ||
| 15 | #pod | ||
| 16 | #pod If C<provides_release_status> returns undef, it will be ignored. | ||
| 17 | #pod | ||
| 18 | #pod =cut | ||
| 19 | |||
| 20 | 3 | requires 'provide_release_status'; | |
| 21 | |||
| 22 | 3 | 1; | |
| 23 | |||
| 24 | #pod =head1 SEE ALSO | ||
| 25 | #pod | ||
| 26 | #pod Core Dist::Zilla plugins implementing this role: | ||
| 27 | #pod L<AutoVersion|Dist::Zilla::Plugin::AutoVersion>. | ||
| 28 | #pod | ||
| 29 | #pod =cut | ||
| 30 | |||
| 31 | __END__ | ||