The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XT::Files::Plugin::Files - plugin to add files to be tested

VERSION

Version 0.002

SYNOPSIS

In the XT::Files config file:

    [Files]
    bin = maint/cleanup.pl
    module = maint/cleanup_helper.pm
    pod = contributing.pod
    test = maint/hello.t

DESCRIPTION

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.

USAGE

new

Inherited from XT::Files::Plugin.

run

The run method should not be run directly. Use the plugin call from XT::Files

SEE ALSO

XT::Files, XT::Files::Plugin, XT::Files::Plugin::Dirs

SUPPORT

Bugs / Feature Requests

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.

Source Code

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

AUTHOR

Sven Kirmess <sven.kirmess@kzone.ch>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2019 by Sven Kirmess.

This is free software, licensed under:

  The (two-clause) FreeBSD License