We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One reason why this plugin may be needed is that GitHub archive links do not contain submodules at this time.
A work around for now is to do the following:
use File::chdir; share { ... plugin 'Download::Git'; # Need to fetch the submodules too. meta->around_hook( fetch => sub { my $orig = shift; my $build = shift; my $data = $orig->($build, @_); if( $data->{type} eq 'file' ) { local $CWD = $data->{path}; $build->log("In $CWD"); $build->system( '%{git}', qw(submodule update), qw(--init --recursive), ); } return $data; }); }
The text was updated successfully, but these errors were encountered:
Seems reasonable.
Sorry, something went wrong.
No branches or pull requests
One reason why this plugin may be needed is that GitHub archive links do not contain submodules at this time.
A work around for now is to do the following:
The text was updated successfully, but these errors were encountered: