App-githook-perltidy
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
### Test script specific setup ###
BEGIN {
\$ENV{PATH} = "$t" .'$sep'.\$ENV{PATH};
\$ENV{SHARE_DIR} //= "$share";
}
use lib "$lib";
my \$ret = do "$script";
die \$@ if \$@;
\$ret;
EOF
$t_script->chmod('a+x');
}
}
create_t_scripts();
lib/App/githook/perltidy/install.pm view on Meta::CPAN
}
$pre_commit->parent->mkpath;
$pre_commit->spew(
qq{#!/bin/sh
if [ "\$NO_GITHOOK_PERLTIDY" != "1" ]; then
PERL5LIB="" $gp pre-commit
fi
}
);
chmod 0755, $pre_commit || warn "chmod: $!";
print $pre_commit;
print " (forced)" if $self->force;
print " (absolute)" if $self->absolute;
print "\n";
}
1;
__END__
=head1 NAME
( run in 0.244 second using v1.01-cache-2.11-cpan-496ff517765 )