Dist::Zilla::Plugin::Test::TidyAll - Adds a tidyall test to your distro
version 0.01
[Test::TidyAll]
This is a Dist::Zilla plugin that create a tidyall test in your distro using Test::Code::TidyAll's tidyall_ok() sub.
tidyall_ok()
Code::TidyAll 0.24 and Test::More 0.88 will be added as develop requires dependencies.
0.24
0.88
develop requires
Dist::Zilla::Plugin::Test::TidyAll
This plugin accepts the following configuration options:
If this is provided, it will be passed to the tidyall_ok() sub.
Note that you must provide a configuration file, either by using one of the default files that Test::Code::TidyAll looks for, or by providing another file via this option.
Many other plugins also add files to the final distro, and these may not pass your tidyall checks. You will need to ignore these files files in your tidyall config.
Because of the way tidyall works, you'll also want to ignore the blib directory. Here is a suggested set of ignore directives for a dzil-based distro.
ignore
ignore = t/00-* ignore = t/author-* ignore = t/release-* ignore = blib/**/* ignore = .build/**/* ignore = {{Your-Plugin-Name}}*/**/*
This presumes that you will not create any tests of your own that start with "00-".
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2015 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Dist::Zilla::Plugin::Test::TidyAll, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Test::TidyAll
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Test::TidyAll
For more information on module installation, please visit the detailed CPAN module installation guide.