Skip to content

Commit

Permalink
- support singleexport flag handling
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jul 9, 2015
1 parent 44f85ec commit 22620a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Build.pm
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ sub read_config {
$config->{'constraint'} = [];
$config->{'expandflags'} = [];
$config->{'buildflags'} = [];
$config->{'singleexport'} = '';
for my $l (@spec) {
$l = $l->[1] if ref $l;
next unless defined $l;
Expand Down Expand Up @@ -328,6 +329,8 @@ sub read_config {
} else {
push @{$config->{'constraint'}}, $l;
}
} elsif ($l0 eq 'singleexport:') {
$config->{'singleexport'} = $l[0]; # avoid to export multiple package container in maintenance_release projects
} elsif ($l0 !~ /^[#%]/) {
warn("unknown keyword in config: $l0\n");
}
Expand Down

0 comments on commit 22620a7

Please sign in to comment.