Alien::Build::Git - Alien::Build tools for interacting with git
version 0.06
Using helper from Alien::git:
use alienfile; share { download [ [ '%{git}', 'clone', 'http://example.com/project-foo.git' ], ]; ... };
Using plugin Alien::Build::Plugin::Download::Git:
use alienfile; meta->prop->{start_url} = 'http://example.com/project-foo.git'; plugin 'Download::Git' =>( version => qr/^v([0-9\.]+)$/, );
This module is documentation only for how to use git as a download source from alienfile + Alien::Build. Depending on the project source that you are using and the way your alienfile is structured, you will want to use one of three modules that come with the distribution Alien-Build-Git. See the synopsis above and the modules in the SEE ALSO section below. To decide which you need.
git
Alien-Build-Git
Also please carefully consider NOT using one of these modules. If you can, using http or ftp to download your target project will probably require fewer and less error-prone dependencies.
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2017 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::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Build::Git
CPAN shell
perl -MCPAN -e shell install Alien::Build::Git
For more information on module installation, please visit the detailed CPAN module installation guide.