NAME
App::Embra::Role::ExtraListDeps - allow a plugin to add more things to listdeps
VERSION
version 0.001
DESCRIPTION
This role is used by plugins to add extra pacakges to the list of required dependencies when embra listdeps
is executed.
Plugins which consume this role must define extra_list_deps
, which will be passed the values for the associated section in config and returns a list of package names.
METHODS
add_extra_deps
App::Embra::Role::ExtraListDeps->add_extra_deps( $config, $reqs );
Static method which adds all of the plugin's extra dependencies to $reqs
, which is a CPAN::Meta::Requirements. The values for the plugin set in the relevant config section are passed as $config
(HashRef).
AUTHOR
Daniel Holz <dgholz@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Daniel Holz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.