Alien::Build::Plugin::Download::GitHub - Alien::Build plugin to download from GitHub
version 0.01
use alienfile; ... share { plugin 'Download::GitHub' => ( github_user => 'Perl5-Alien', github_repo => 'dontpanic', ); };
This plugin will download releases from GitHub. It is generally preferred over Alien::Build::Plugin::Download::Git for packages that are released on GitHub, as it has much fewer dependencies and is more reliable.
The GitHub user or org that owns the repository.
The GitHub repository name.
Regular expression that can be used to extract a version from a GitHub tag. The default ( qr/^v?(.*)$/ ) is reasonable for many GitHub repositories.
qr/^v?(.*)$/
How to sort candidates for selection. This should be one of three types of values:
This will be used as the prefer hook.
Use Alien::Build::Plugin::Prefer::SortVersions.
(This is the default, and reasonable for many GitHub repositories).
Don't set any preference at all. A hook must be installed, or another prefer plugin specified.
Author: Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2019 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alien::Build::Plugin::Download::GitHub, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Build::Plugin::Download::GitHub
CPAN shell
perl -MCPAN -e shell install Alien::Build::Plugin::Download::GitHub
For more information on module installation, please visit the detailed CPAN module installation guide.