Various change
|
1 |
use strict; |
2 |
use warnings; |
|
3 |
use File::Spec; |
|
4 |
|
|
5 |
my @modules = qw/DBIx-Custom DBIx-Custom-Basic DBIx-Custom-MySQL |
|
6 |
DBIx-Custom-Query DBIx-Custom-Result |
|
7 |
DBIx-Custom-Result DBIx-Custom-SQLite |
|
8 |
DBIx-Custom-SQL-Template/; |
|
9 |
|
|
10 |
foreach my $module (@modules) { |
|
11 |
chdir $module |
|
12 |
or die "Cannot change directory '$module': $!"; |
|
13 |
|
|
14 |
system('perl Build realclean'); |
|
15 |
system('perl Build.PL'); |
|
16 |
system('perl Build'); |
|
17 |
system('perl Build test'); |
|
18 |
system('perl Build install'); |
|
19 |
system('perl Build disttest'); |
|
20 |
system('perl Build dist'); |
|
21 |
|
|
22 |
chdir File::Spec->updir |
|
23 |
or die "Cannot change up directory: $!"; |
|
24 |
} |