Missing line in Build.PL

This commit is contained in:
Alessandro Ranellucci 2013-11-11 10:28:27 +01:00
parent 6cc976fa02
commit 4250ebf644

View File

@ -134,6 +134,7 @@ if (@missing_prereqs) {
printf "The following prerequisites failed to install: %s\n", join(', ', @missing_prereqs); printf "The following prerequisites failed to install: %s\n", join(', ', @missing_prereqs);
exit 1; exit 1;
} elsif (!$gui) { } elsif (!$gui) {
eval "use App::Prove; 1" or die "Failed to load App::Prove";
my $res = App::Prove->new->run ? 0 : 1; my $res = App::Prove->new->run ? 0 : 1;
if ($res == 0) { if ($res == 0) {
print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n"; print "If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.\n";