Dist-Milla
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Milla/FirstBuild.pm view on Meta::CPAN
use Git::Wrapper;
sub after_mint {
my($self, $opts) = @_;
$self->log("Running the initial build & clean");
{
my $wd = File::pushd::pushd($opts->{mint_root});
for my $cmd (['build', '--no-tgz'], ['clean']) {
local @ARGV = (@$cmd);
Dist::Milla::App->run;
}
}
my $git = Git::Wrapper->new("$opts->{mint_root}");
$git->add("$opts->{mint_root}");
}
no Moose;
__PACKAGE__->meta->make_immutable;
( run in 1.237 second using v1.01-cache-2.11-cpan-49f99fa48dc )