Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean up useless code
  • Loading branch information
zoffixznet committed Nov 7, 2015
1 parent a9d5a49 commit 31d6c3d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions web/build-project-list.pl
Expand Up @@ -3,16 +3,14 @@
use warnings;
use 5.010;

use lib 'lib';
use File::Path qw(make_path);
use Getopt::Long qw(GetOptions);

BEGIN { unshift @INC, './lib'; }

use P6Project;

GetOptions('limit=s' => \my $limit);

my $output_dir = shift(@ARGV) || './';
my @MEDALS = qw<readme tests unachieved camelia panda panda_nos11>;
binmode STDOUT, ':encoding(UTF-8)';

local $| = 1;
Expand All @@ -34,7 +32,7 @@
print "ok - $success\nnok - $failed\n";

my @errors = $p6p->stats->errors;
print STDERR join '', map {"$_\n"} @errors if scalar(@errors);
warn join "\n", @errors, '' if @errors;

die "Too many errors no output generated"
if $failed > $success;
Expand Down

0 comments on commit 31d6c3d

Please sign in to comment.