GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XT::Files::Plugin::Dirs(3) User Contributed Perl Documentation XT::Files::Plugin::Dirs(3)

XT::Files::Plugin::Dirs - plugin to add directories to be tested

Version 0.002

In the XT::Files config file:

    [Dirs]
    bin = bin
    bin = script
    module = lib
    test = t
    test = xt

Adds some directories to XT::Files to be tested by author tests. Every file found in the directory that matches the directory types criteria, is added, as the specified type.

The files are searched recursive. Symlinks are skipped.

The directories are sorted and processed in reverse order. This allows you to e.g. add

    bin = maint
    module = maint/lib

and maint/lib will be searched first. Then, when maint is searched all the files found from maint/lib won't be overwritten, effectively blocking them from being found as bin.

The following options are supported:

  • bin

    Adds all files contained in these directories as Perl scripts to the list of files to be tested.

  • module

    Adds all files with the ".pm" extension, contained in these directories, as module files to the list of files to be tested. Files with the ".pod" extension are added as Pod files.

  • test

    Adds all files contained in these directories with the ".t" extension as test files.

Inherited from XT::Files::Plugin.

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

XT::Files, XT::Files::Plugin, XT::Files::Plugin::Default

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
2019-08-24 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.