17 Oct 2020 22:24:15 UTC
- Distribution: Dist-Zilla-Plugin-RequiresExternal
- Module version: 1.009
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (71 / 0 / 2)
- KwaliteeBus factor: 1
- 96.55% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity24 month
- Download (26.64KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- SEE ALSO
- COPYRIGHT AND LICENSE
Dist::Zilla::Plugin::RequiresExternal - make dists require external commands
In your dist.ini:
[RequiresExternal] requires = /path/to/some/executable requires = executable_in_path
This Dist::Zilla plugin creates a test in your distribution to check for the existence of executable commands you require.
requiresattribute should be either an absolute path to an executable or the name of a command in the user's
requireslines are allowed.
Example from a dist.ini file:
[RequiresExternal] requires = sqlplus requires = /usr/bin/java
This will require the program
sqlplusto be available somewhere in the user's
PATHand the program
javaspecifically in /usr/bin.
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.
Adds a t/requires_external.t test script to your distribution that checks if each "requires" item is executable.
This module was indirectly inspired by Module::Install::External's requires_external_bin command.
You can find documentation for this module with the perldoc command.
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.
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
Please report any bugs or feature requests through the web interface at https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal/issues. You will be automatically notified of any progress on the request by the system.
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 :)
git clone git://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal.git
Mark Gardner <email@example.com>
Joenio Costa <firstname.lastname@example.org>
This software is copyright (c) 2020 by GSI Commerce and Joenio Costa.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Dist::Zilla::Plugin::RequiresExternal, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Dist::Zilla::Plugin::RequiresExternal
For more information on module installation, please visit the detailed CPAN module installation guide.