XT::Files::Plugin::Files - plugin to add files to be tested
Version 0.002
In the XT::Files config file:
[Files] bin = maint/cleanup.pl module = maint/cleanup_helper.pm pod = contributing.pod test = maint/hello.t
Adds some files to XT::Files to be tested by author tests. use this to add single files. To recursively add while directories, the XT::Files::Plugin::Dirs plugin is better suited.
The following options are supported:
bin
Adds the files as Perl scripts to the list of files to be tested.
module
Adds the file as Perl module to the list of files to be tested.
pod
Adds the file as Pod file to the list of files to be tested.
test
Adds the file as Perl script and as Perl test to the list of files to be tested.
Note: The file extension for all files is ignored. This differs from the XT::Files::Plugin::Dirs plugin.
Inherited from XT::Files::Plugin.
The run method should not be run directly. Use the plugin call from XT::Files
run
plugin
XT::Files, XT::Files::Plugin, XT::Files::Plugin::Dirs
Please report any bugs or feature requests through the issue tracker at https://github.com/skirmess/XT-Files/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/skirmess/XT-Files
git clone https://github.com/skirmess/XT-Files.git
Sven Kirmess <sven.kirmess@kzone.ch>
This software is Copyright (c) 2018-2019 by Sven Kirmess.
This is free software, licensed under:
The (two-clause) FreeBSD License
To install XT::Files, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XT::Files
CPAN shell
perl -MCPAN -e shell install XT::Files
For more information on module installation, please visit the detailed CPAN module installation guide.