Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kentnl/dist-zilla-app-command-critic
build your dist and run Perl::Critic on the built files
https://github.com/kentnl/dist-zilla-app-command-critic
dist-zilla perl
Last synced: 4 days ago
JSON representation
build your dist and run Perl::Critic on the built files
- Host: GitHub
- URL: https://github.com/kentnl/dist-zilla-app-command-critic
- Owner: kentnl
- License: other
- Created: 2014-04-12T23:05:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-04T04:36:49.000Z (over 7 years ago)
- Last Synced: 2023-08-20T22:53:28.311Z (about 1 year ago)
- Topics: dist-zilla, perl
- Language: Perl
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkdn
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Dist::Zilla::App::Command::critic - build your dist and run Perl::Critic on the built files.
# VERSION
version 0.001012
# DESCRIPTION
`critic` is an `App::Command` for [`Dist::Zilla`](https://metacpan.org/pod/Dist::Zilla) which streamlines running
[`Perl::Critic`](https://metacpan.org/pod/Perl::Critic) on your built distribution.This competes with the likes of [`[Test::Perl::Critic]`](https://metacpan.org/pod/Dist::Zilla::Plugin::Test::Perl::Critic)
by:- 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::Critic` which discards profile color settings.
- carefully formatting output to give a clearer visualization of where failures lie.
- not requiring your dist have a `Test::Perl::Critic` test pass for release.
- not requiring your dist to have any explicit `Perl::Critic` consumption.Behaviorally:
dzil critic
Behaves very similar to:
dzil run --no-build perlcritic -p perlcritic.rc lib/
Except with improved verbosity of file name reporting.
# CONFIGURATION
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.# AUTHOR
Kent Fredric
# COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Kent Fredric .
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.