Changeset 5337
- Timestamp:
- 06/18/09 14:54:28 (3 years ago)
- File:
-
- 1 edited
-
trunk/tools/build_all.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/build_all.pl
r5299 r5337 4 4 5 5 # Try to run perl Makefile.PL or perl Build.PL on all the modules in this repository 6 # later we might just run the release.pl script on each directory 7 # (or that could be a second phase) 6 8 7 9 use FindBin; … … 10 12 use Capture::Tiny qw(tee); 11 13 12 my %SKIP = map {$_ =>1 } qw( 13 blogs.padre.perlide.org 14 my %SKIP = ( 15 'Padre-Plugin-Encode' => 'due to be integrated', 16 'Padre-Plugin-HTML' => 'HTML::Tidy is a broken prereq', 17 'Padre-Plugin-NYTProf' => 'TODO', 18 'Padre-Plugin-Perldoc' => 'irrelevant, broken prereq', 19 'Padre-Plugin-Swarm' => 'just a skeleton', 20 'Perl-Dist-Padre' => 'needs Perl::Dist::Strawberry', 21 'Task-Padre-Plugin-Deps' => 'HTML::Tidy is broken', 22 'Task-Padre-Plugins' => '???', 23 'Wx-Perl-Dialog' => 'currently not in use', 14 24 ); 15 25 16 my @dirs = grep { -d $_ } glob "$FindBin::Bin/../ *";26 my @dirs = grep { -d $_ } glob "$FindBin::Bin/../[A-Z]*"; 17 27 #print Dumper \@dirs; 18 28 … … 26 36 if (-e 'Build.PL') { 27 37 my ($stdout, $stderr) = tee { 28 system "perl Build.PL" and die " $!";38 system "perl Build.PL" and die "($base failed:) $!"; 29 39 }; 30 40 die "There was an error (on stderr) in $base\n" if $stderr; … … 32 42 } elsif (-e 'Makefile.PL') { 33 43 my ($stdout, $stderr) = tee { 34 system "perl Makefile.PL" and die " $!";44 system "perl Makefile.PL" and die "($base failed:) $!\n"; 35 45 }; 36 46 die "There was an error (on stderr) in $base\n" if $stderr;
Note: See TracChangeset
for help on using the changeset viewer.
