Module-Build
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Module/Build/Base.pm view on Meta::CPAN
sub new_from_context {
my ($package, %args) = @_;
$package->run_perl_script('Build.PL',[],[$package->unparse_args(\%args)]);
return $package->resume;
}
sub current {
# hmm, wonder what the right thing to do here is
local @ARGV;
return shift()->resume;
}
sub _construct {
my ($package, %input) = @_;
my $args = delete $input{args} || {};
my $config = delete $input{config} || {};
my $self = bless {
t/signature.t view on Meta::CPAN
chdir( $mb->dist_dir ) or die "Can't chdir to '@{[$mb->dist_dir]}': $!";
ok !-e 'SIGNATURE', './Build distdir --sign 0 does not sign';
}
eval { $mb->dispatch('realclean') };
is $@, '';
$dist->chdir_in;
{
local @ARGV = '--sign=1';
$dist->change_build_pl({
module_name => $dist->name,
license => 'perl',
auto_configure_requires => 0,
quiet => 1,
});
$dist->regen;
my $mb = Module::Build->new_from_context;
is $mb->{properties}{sign}, 1;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.741 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )