Dist::Zilla::App::Command::critic - build your dist and run Perl::Critic on the built files.
This competes with the likes of
not requiring the rest of the steps in the test life-cycle to execute.
not being impeded by the other tests cluttering your output.
not suffering the limitations of
Test::Perl::Criticwhich discards profile color settings.
carefully formatting output to give a clearer visualization of where failures lie.
not requiring your dist have a
Test::Perl::Critictest pass for release.
not requiring your dist to have any explicit
Behaves very similar to:
dzil run --no-build perlcritic -p perlcritic.rc lib/
Except with improved verbosity of file name reporting.
This module has little configuration at this point.
perlcritic.rc is the name of the default profile to use, and it must be in your BUILT tree to be used.
Alternatively, IF you are using
[Test::Perl::Critic] in your dist, the path specified to
perlcritic.rc in that module will be used.
Kent Fredric <email@example.com>
This software is copyright (c) 2017 by Kent Fredric <firstname.lastname@example.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.