Dist-Zilla-BeLike-CSJEWELL

changeset 16:743bd5ffdd70

Getting author testing right for a DZ environment.
author Curtis Jewell <csjewell@cpan.org>
date Fri Aug 13 11:18:10 2010 -0600 (2010-08-13)
parents cc452e849ea7
children a1955355da78
files Build.PL
line diff
     1.1 --- a/Build.PL	Fri Aug 13 11:17:42 2010 -0600
     1.2 +++ b/Build.PL	Fri Aug 13 11:18:10 2010 -0600
     1.3 @@ -10,8 +10,6 @@
     1.4      my ($self) = @_;
     1.5  
     1.6      $self->depends_on('build');
     1.7 -    $self->depends_on('manifest');
     1.8 -    $self->depends_on('distmeta');
     1.9  
    1.10      $self->test_files( qw( t xt/author ) );
    1.11      $self->depends_on('test');
    1.12 @@ -25,8 +23,6 @@
    1.13      my ($self) = @_;
    1.14  
    1.15      $self->depends_on('build');
    1.16 -    $self->depends_on('manifest');
    1.17 -    $self->depends_on('distmeta');
    1.18  
    1.19      $self->test_files( qw( t xt/author xt/release ) );
    1.20      $self->depends_on('test');
    1.21 @@ -45,6 +41,14 @@
    1.22  
    1.23      return $self->SUPER::ACTION_manifest(@arguments);
    1.24  }
    1.25 +
    1.26 +sub ACTION_distmeta {
    1.27 +    my ($self) = @_;
    1.28 +	
    1.29 +    $self->depends_on('manifest');
    1.30 +	
    1.31 +    return $self->SUPER::ACTION_distmeta();
    1.32 +}
    1.33  END_CODE
    1.34  );
    1.35