Scroll to navigation

Dist::Zilla::Plugin::Test::NoTabs(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::Test::NoTabs(3pm)
 

NAME

Dist::Zilla::Plugin::Test::NoTabs - Release tests making sure hard tabs aren't used

VERSION

version 0.09

SYNOPSIS

In your dist.ini:
    [Test::NoTabs]
    finder = my_finder
    finder = other_finder

DESCRIPTION

This is a plugin that runs at the gather files stage, providing the file xt/author/no-tabs.t, a standard Test::NoTabs test.

CONFIGURATION OPTIONS

This plugin accepts the following options:

"module_finder"

This is the name of a FileFinder for finding files to check. The default value is ":InstallModules", ":ExecFiles" (see also Dist::Zilla::Plugin::ExecDir) and ":TestFiles"; this option can be used more than once.
Other predefined finders are listed in "default_finders" in Dist::Zilla::Role::FileFinderUser. You can define your own with the [FileFinder::ByName] plugin.
Just like "module_finder", but for finding scripts. The default value is ":ExecFiles" (see also Dist::Zilla::Plugin::ExecDir) and ":TestFiles".

"file"

a filename to also test, in addition to any files found earlier. This option can be repeated to specify multiple additional files.

"filename"

The filename of the test to add - defaults to xt/author/no-tabs.t.

AUTHOR

Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

CONTRIBUTOR

Karen Etheridge <ether@cpan.org>
2014-08-16 perl v5.20.0