Dist::Zilla::Plugin::AutoPrereqs::Perl::Critic - automatically extract Perl::Critic policy prereqs
# in dist.ini: [AutoPrereqs::Perl::Critic] critic_config = .perlcriticrc ; defaults to not specify a profile phase = develop ; default type = requires ; default remove_core_policies = 1 ; default
This plugin will add Perl::Critic and all policies used by it, in the installed version, as distribution prerequisites.
By default no policy is specified which lets Perl::Critic find the config itself. This defaults to .perlcriticrc in the current directory.
By default, the dependencies are added to the develop phase. This can be changed to every valid phase.
By default, policies that are included in the latest Perl::Critic distribution are not added as dependency. This can be changed by setting remove_core_policies to 0.
Note: Perl::Critic itself is always added as dependency which will come with the core policies.
Note: This feature needs HTTP access to cpanmetadb.plackperl.org. Please disable this feature if you're system cannot access that server.
By default, the dependencies are added as type requires. This can be changed to every valid phase.
Please report any bugs or feature requests through the issue tracker at https://github.com/skirmess/Dist-Zilla-Plugin-AutoPrereqs-Perl-Critic/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/skirmess/Dist-Zilla-Plugin-AutoPrereqs-Perl-Critic
git clone https://github.com/skirmess/Dist-Zilla-Plugin-AutoPrereqs-Perl-Critic.git
Sven Kirmess <sven.kirmess@kzone.ch>
This software is Copyright (c) 2017 by Sven Kirmess.
This is free software, licensed under:
The (two-clause) FreeBSD License
Dist::Zilla::Plugin::AutoPrereqs, Perl::Critic, Test::Perl::Critic,
To install Dist::Zilla::Plugin::AutoPrereqs::Perl::Critic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::AutoPrereqs::Perl::Critic
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::AutoPrereqs::Perl::Critic
For more information on module installation, please visit the detailed CPAN module installation guide.