Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-09-19 12:42:49 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-09-19 12:42:49 +0400
commit77657871721a5eeb5e9ae5bd7d13ca7bcebae247 (patch)
tree571a94cbeb98c110b1638ca8c4058fa8b0e6e13f /Build.PL
parent40fd7418cde5745864a3c37853d6fe1c953e6cdd (diff)
Added .travis.yml and have Build.PL exit with non-zero in case of failure
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build.PL b/Build.PL
index 5b87d2999..a544b51e8 100644
--- a/Build.PL
+++ b/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__