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;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.098 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )