Bigtop
view release on metacpan or search on metacpan
$self->SUPER::ACTION_install();
return unless ( $self->notes( 'install_tentmaker' ) );
my $props = $self->{properties};
my $files = $props->{tentmaker_files};
my $path = $self->notes( 'tentmaker_template_path' );
foreach my $file ( @{ $files } ) {
$self->copy_if_modified( $file, $path );
}
print "installed tentmaker templates to $path\n";
}
sub ACTION_dist {
my $self = shift;
if ( -x 'skip/gendocs' ) {
`skip/gendocs`;
}
examples/Billing-Finished/Build.PL view on Meta::CPAN
sub process_web_files {
my $self = shift;
my $files = $self->find_web_files;
return unless @$files;
my $tmpl_dir = File::Spec->catdir($self->blib, 'web');
File::Path::mkpath( $tmpl_dir );
foreach my $file (@$files) {
my $result = $self->copy_if_modified($file, $tmpl_dir);
}
}
sub find_web_files {
my $self = shift;
my $p = $self->{properties};
my $b_tmpl_dir = $p->{build_web_directory};
$b_tmpl_dir =~ s/\/$//g;
if (my $files = $p->{web_files}) {
( run in 0.629 second using v1.01-cache-2.11-cpan-39bf76dae61 )