App-Guiio
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_build
{
my $self = shift;
if($ENV{'App_Guiio_USE_GIT_VERSION_FOR_DIST'})
{
my ($version) = GetVersionAndRevisionFrom('lib/App/Guiio.pm') ;
sub GetVersion {return '$version'} ;
1 ;
# end of generated version module
EOV
close VERSION ;
}
$self->SUPER::ACTION_build(@_);
}
sub ACTION_dist
{
my $self = shift;
if($ENV{'App_Guiio_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::Guiio', code => $code) ;
my $build = $class->new
(
module_name => 'App::Guiio',
( run in 1.052 second using v1.01-cache-2.11-cpan-49f99fa48dc )