Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (30 sloc) 0.669 kb
#!/usr/bin/env perl
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/lib";
use tools;
if ( not env_exists('STERILIZE_ENV') ) {
diag("\e[31mSTERILIZE_ENV \e[32munset\e[0m, skipping");
exit 0;
}
if ( env_is( 'TRAVIS_BRANCH', 'master' ) ) {
diag("before_script skipped, TRAVIS_BRANCH=master");
exit 0;
}
else {
# if ( env_true('COVERAGE_TESTING') ) {
# diag("\e[31mCOVERAGE_TESTING. Skipping blib creation");
# exit 0;
# }
if ( -e './Build.PL' ) {
safe_exec( $^X, './Build.PL' );
safe_exec("./Build");
exit 0;
}
if ( -e './Makefile.PL' ) {
safe_exec( $^X, './Makefile.PL' );
safe_exec("make");
exit 0;
}
}
Jump to Line
Something went wrong with that request. Please try again.