Dist::Zilla::Plugin::Test::EOL - Author tests making sure correct line endings are used
version 0.19
Generate an author Test::EOL.
This is an extension of Dist::Zilla::Plugin::InlineFiles, providing the file xt/author/eol.t, a standard Test::EOL test.
This plugin accepts the following options:
trailing_whitespace
If this option is set to a true value, { trailing_whitespace => 1 } will be passed to "all_perl_files_ok" in Test::EOL. It defaults to 1.
{ trailing_whitespace => 1 }
1
What this option is going to do is test for the lack of trailing whitespace at the end of the lines (also known as "trailing space").
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.
:InstallModules
:ExecFiles
:TestFiles
Other predefined finders are listed in "default_finders" in Dist::Zilla::Role::FileFinderUser. You can define your own with the [FileFinder::ByName] plugin.
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/test-eol.t.
This module is a fork of Dist::Zilla::Plugin::EOLTests and was originally written by Florian Ragwitz. It was forked because the Test:: namespace is preferred for test modules, and because I would prefer to have EOL tests be Author tests.
Test::EOL
Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org).
There is also a mailing list available for users of this distribution, at http://dzil.org/#mailing-list.
There is also an irc channel available for users of this distribution, at #distzilla on irc.perl.org.
#distzilla
irc.perl.org
Florian Ragwitz <rafl@debian.org>
Caleb Cushing <xenoterracide@gmail.com>
Karen Etheridge <ether@cpan.org>
Olivier Mengué <dolmen@cpan.org>
Shlomi Fish <shlomif@shlomifish.org>
This software is copyright (c) 2010 by Florian Ragwitz <rafl@debian.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.
To install Dist::Zilla::Plugin::Test::EOL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Test::EOL
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Test::EOL
For more information on module installation, please visit the detailed CPAN module installation guide.