| 1 | package Pod::Weaver::Section::PERLANCAR::Contributing; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.010001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | with 'Pod::Weaver::Role::AddTextToSection'; | |
| 6 | 1 | with 'Pod::Weaver::Role::Section'; | |
| 7 | |||
| 8 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 9 | 1 | our $DATE = '2022-05-08'; # DATE | |
| 10 | 1 | our $DIST = 'Pod-Weaver-PluginBundle-Author-PERLANCAR'; # DIST | |
| 11 | 1 | our $VERSION = '0.293'; # VERSION | |
| 12 | |||
| 13 | 0 | ▶ | sub weave_section { |
|
Subroutine
weave_section: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | 0 | my ($self, $document, $input) = @_; | |
| 15 | |||
| 16 | 0 | my $text = <<'_'; | |
| 17 | |||
| 18 | To contribute, you can send patches by email/via RT, or send pull requests on | ||
| 19 | GitHub. | ||
| 20 | |||
| 21 | Most of the time, you don't need to build the distribution yourself. You can | ||
| 22 | simply modify the code, then test via: | ||
| 23 | |||
| 24 | % prove -l | ||
| 25 | |||
| 26 | If you want to build the distribution (e.g. to try to install it locally on your | ||
| 27 | system), you can install L<Dist::Zilla>, | ||
| 28 | L<Dist::Zilla::PluginBundle::Author::PERLANCAR>, | ||
| 29 | L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other | ||
| 30 | Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond | ||
| 31 | that are considered a bug and can be reported to me. | ||
| 32 | |||
| 33 | _ | ||
| 34 | 0 | $self->add_text_to_section($document, $text, 'CONTRIBUTING'); | |
| 35 | } | ||
| 36 | |||
| 37 | 1 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 38 | 1 | 1; | |
| 39 | # ABSTRACT: Add a CONTRIBUTING section for PERLANCAR distributions | ||
| 40 | |||
| 41 | __END__ | ||