App-Plog
view release on metacpan or search on metacpan
else
{
return($version) ;
}
}
sub ACTION_author_test
{
my $self = shift;
local $self->{properties}{test_files} = 'xt/author/*.t' ;
$self->SUPER::ACTION_test();
}
sub ACTION_dist
{
my $self = shift;
if($ENV{'App_Plog_USE_GIT_VERSION_FOR_DIST'})
{
my $have_git = $self->do_system('git --version');
{
print "Couldn't get git log, 'Changes' will not be generated from git log!\n" ;
}
}
else
{
print "git not found, 'Changes' will not be generated from git log!\n" ;
}
}
$self->SUPER::ACTION_test() ;
#~ $self->ACTION_author_test() ;
$self->SUPER::ACTION_dist();
};
EOC
;
my $class = Module::Build->subclass(class => 'App::Plog', code => $code) ;
my $build = $class->new
(
module_name => 'App::Plog',
( run in 0.608 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )