[Bps-public-commit] r10226 - bpsbuilder/BPB/lib/BPB/Script
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Jan 2 15:54:08 EST 2008
Author: sunnavy
Date: Wed Jan 2 15:54:07 2008
New Revision: 10226
Modified:
bpsbuilder/BPB/lib/BPB/Script/Build.pm
Log:
bug fix, it's too late to decide whether or not to skip test
Modified: bpsbuilder/BPB/lib/BPB/Script/Build.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Script/Build.pm (original)
+++ bpsbuilder/BPB/lib/BPB/Script/Build.pm Wed Jan 2 15:54:07 2008
@@ -5,7 +5,7 @@
use Carp;
use base qw/App::CLI::Command Class::Accessor::Fast/;
-__PACKAGE__->mk_accessors(qw/config name install_base build_base skip_test/);
+__PACKAGE__->mk_accessors(qw/config name install_base build_base/);
use BPB;
@@ -13,8 +13,7 @@
(
'n|name=s' => 'name',
'c|config=s' => 'config',
- 'i|install_base=s' => 'install_base',
- 'skip_test' => 'skip_test',
+ 'i|install-base=s' => 'install_base',
);
}
@@ -27,7 +26,7 @@
my $bpb = BPB->new( config => $self->config, name => $self->name );
$bpb->backend->export( target => $bpb->build->build_base );
- $bpb->build->run( map { $_ => $self->$_ } qw/install_base skip_test/ );
+ $bpb->build->run( map { $_ => $self->$_ } qw/install_base/ );
}
1;
@@ -46,7 +45,6 @@
--config(-c) specify which config.yml we'll use
--name(-n) specify the project's name
--install-base(-i) specify install base. overide the item in config.yml
- --skip-test skip test. overide the item in config.yml too
=head1 AUTHOR
More information about the Bps-public-commit
mailing list