$ zef install Sparrowdo::Cpanm::GitHub
Sparrowdo module to installs CPAN modules fetched from remote GitHub repositories.
Installs CPAN modules taken from GitHub repositories and branches.
$ cat sparrowfile
# install https://github.com/melezhik/outthentic
# master branch
module-run 'Cpanm::GitHub', %(
user => "melezhik", # github user, required
project => "outthentic", # GitHub project, required
);
# install "realtime-stdout" branch
module-run 'Cpanm::GitHub', %(
user => "melezhik", # github user, required
project => "outthentic", # GitHub project
branch => "realtime-stdout" # Branch name; If not set master branch installed
);
If need more precise control on CPAN modules installations consider cpan-* functions come from Sparrow DSL.
This is pretty straightforward install using system (root) installation.
All files (unless noted otherwise) can be used, modified and redistributed under the terms of the Artistic License Version 2. Examples (in the documentation, in tests or distributed as separate files) can be considered public domain.
ⓒ2017 'Alexey Melezhik'