VERSION

version 1.004

SYNOPSIS

In your dist.ini:

    [RequiresExternal]
    requires = /path/to/some/executable
    requires = executable_in_path

DESCRIPTION

This Dist::Zilla plugin creates a test in your distribution to check for the existence of executable commands you require.

ATTRIBUTES

requires

Each \*(C`requires\*(C' attribute should be either an absolute path to an executable or the name of a command in the user's \*(C`PATH\*(C' environment. Multiple \*(C`requires\*(C' lines are allowed.

Example from a dist.ini file:

[RequiresExternal] requires = sqlplus requires = /usr/bin/java

This will require the program \*(C`sqlplus\*(C' to be available somewhere in the user's \*(C`PATH\*(C' and the program \*(C`java\*(C' specifically in /usr/bin.

fatal

Boolean value to determine if a failed test will immediately stop testing. It also causes the test name to change to t/000-requires_external.t so that it runs earlier. Defaults to false.

METHODS

gather_files

Adds a t/requires_external.t test script to your distribution that checks if each \*(L"requires\*(R" item is executable.

metadata

Using this plugin will add Test::Most and Env::Path to your distribution's testing prerequisites since the generated script uses those modules.

RELATED TO Dist::Zilla::Plugin::RequiresExternal…

This module was indirectly inspired by Module::Install::External's requires_external_bin command.

SUPPORT

Perldoc

You can find documentation for this module with the perldoc command.

perldoc Dist::Zilla::Plugin::RequiresExternal

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

  • Search \s-1CPAN\s0 The default \s-1CPAN\s0 search engine, useful to view \s-1POD\s0 in \s-1HTML\s0 format. http://search.cpan.org/dist/Dist-Zilla-Plugin-RequiresExternal <http://search.cpan.org/dist/Dist-Zilla-Plugin-RequiresExternal>

  • AnnoCPAN The AnnoCPAN is a website that allows community annonations of Perl module documentation. http://annocpan.org/dist/Dist-Zilla-Plugin-RequiresExternal <http://annocpan.org/dist/Dist-Zilla-Plugin-RequiresExternal>

  • \s-1CPAN\s0 Ratings The \s-1CPAN\s0 Ratings is a website that allows community ratings and reviews of Perl modules. http://cpanratings.perl.org/d/Dist-Zilla-Plugin-RequiresExternal <http://cpanratings.perl.org/d/Dist-Zilla-Plugin-RequiresExternal>

  • \s-1CPANTS\s0 The \s-1CPANTS\s0 is a website that analyzes the Kwalitee ( code metrics ) of a distribution. http://cpants.perl.org/dist/overview/Dist-Zilla-Plugin-RequiresExternal <http://cpants.perl.org/dist/overview/Dist-Zilla-Plugin-RequiresExternal>

  • \s-1CPAN\s0 Testers The \s-1CPAN\s0 Testers is a network of smokers who run automated tests on uploaded \s-1CPAN\s0 distributions. http://www.cpantesters.org/distro/D/Dist-Zilla-Plugin-RequiresExternal <http://www.cpantesters.org/distro/D/Dist-Zilla-Plugin-RequiresExternal>

  • \s-1CPAN\s0 Testers Matrix The \s-1CPAN\s0 Testers Matrix is a website that provides a visual way to determine what Perls/platforms PASSed for a distribution. http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-RequiresExternal <http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-RequiresExternal>

  • \s-1CPAN\s0 Testers Dependencies The \s-1CPAN\s0 Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. <http://deps.cpantesters.org/?module=Dist::Zilla::Plugin::RequiresExternal>

Bugs / Feature Requests

Please report any bugs or feature requests through the web interface at https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal/issues <https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal/issues>. You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal <https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal>

git clone git://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal.git

AUTHOR

Mark Gardner <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by \s-1GSI\s0 Commerce.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.