mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 22:35:15 -06:00
Added .travis.yml and have Build.PL exit with non-zero in case of failure
This commit is contained in:
parent
40fd7418cd
commit
7765787172
2 changed files with 10 additions and 1 deletions
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__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue