Permalink
Browse files

don't rebuild library on repeated M::B::dispatch

  • Loading branch information...
1 parent 30b4a39 commit d8918a118da1a8161ede4b577d8c63a96f4077a6 @jberger jberger committed Apr 4, 2012
Showing with 8 additions and 1 deletion.
  1. +4 −0 Changes
  2. +4 −1 lib/Alien/Base/ModuleBuild.pm
View
@@ -1,5 +1,9 @@
Revision history for Perl module Alien::Base.
+0.000_007
+ - Don't rebuild library on repeated M::B::dispatch
+ - More bugfixes
+
0.000_006 Apr 3, 2012
- Yet anther bugfix(?) release
@@ -209,7 +209,7 @@ sub alien_init_temp_dir {
sub ACTION_code {
my $self = shift;
- $self->depends_on('alien');
+ $self->depends_on('alien') unless $self->notes('ACTION_alien_completed');
$self->SUPER::ACTION_code;
}
@@ -286,6 +286,9 @@ sub ACTION_alien {
}
$self->config_data( version => $pc_version || $version );
+
+ # prevent building multiple times (on M::B::dispatch)
+ $self->notes( 'ACTION_alien_completed' => 1 );
return;
}

0 comments on commit d8918a1

Please sign in to comment.