Test::Install::METArequires - TAP output of installing requires listed in META.yml
use Test::Install::METArequires; Test::Install::METArequires->t(); prove -Ilib `perl -MTest::iMETAr -le 'print Test::iMETAr->t_file'` t/
Reads META.yml in current folder and tries to install any of the configure_requires, build_requires, requires modules listed there. Output is TAP - one test line (OK/FAIL) per module with note output.
configure_requires
build_requires
requires
Install requires listed in META.yml and output results as TAP.
Do cpan -i $module if the required $version is not jet installed.
cpan -i $module
$version
If dbedia::Debian is loaded. It will install modules from Debian packages if available. Or at least module dependencies if higher version is required than it is available in Debian.
Set $ENV{IMETAR_SUDO} to true if `sudo` has to be executed before each cpan or apt-get commands.
$ENV{IMETAR_SUDO}
cpan
apt-get
Set/get timeout for one `cpan -i ...` execution. Default is 1h.
Return the location of METArequires.t file.
Return the location of METArequires-Debian.t file.
Jozef Kutej, <jkutej at cpan.org>
<jkutej at cpan.org>
Please report any bugs or feature requests to bug-test-install-metarequires at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Install-METArequires. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-test-install-metarequires at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Test::Install::METArequires
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Install-METArequires
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Test-Install-METArequires
CPAN Ratings
http://cpanratings.perl.org/d/Test-Install-METArequires
Search CPAN
http://search.cpan.org/dist/Test-Install-METArequires/
Copyright 2009 Jozef Kutej.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Test::Install::METArequires, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Install::METArequires
CPAN shell
perl -MCPAN -e shell install Test::Install::METArequires
For more information on module installation, please visit the detailed CPAN module installation guide.