mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Added .travis.yml and have Build.PL exit with non-zero in case of failure
This commit is contained in:
4
Build.PL
4
Build.PL
@@ -131,12 +131,14 @@ EOF
|
||||
if ($missing_prereqs) {
|
||||
exit 1;
|
||||
} else {
|
||||
my $res = 0;
|
||||
if (eval "use App::Prove; 1") {
|
||||
App::Prove->new->run;
|
||||
$res = App::Prove->new->run ? 0 : 1;
|
||||
}
|
||||
if (!$gui) {
|
||||
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";
|
||||
}
|
||||
exit $res;
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
Reference in New Issue
Block a user