Dist-Zilla-BeLike-CSJEWELL

changeset 29:919637a1a76b

Making the skeleton Build.PL match earlier changes.
author Curtis Jewell <csjewell@cpan.org>
date Fri Aug 13 16:12:28 2010 -0600 (2010-08-13)
parents b1b1dfbfea54
children 5ed0f850dbac
files share/csjewell/skel/Build.PL
line diff
     1.1 --- a/share/csjewell/skel/Build.PL	Fri Aug 13 16:12:06 2010 -0600
     1.2 +++ b/share/csjewell/skel/Build.PL	Fri Aug 13 16:12:28 2010 -0600
     1.3 @@ -5,13 +5,10 @@
     1.4  my $class = Module::Build->subclass(
     1.5  	class => 'My::Builder',
     1.6  	code  => <<'END_CODE',
     1.7 -
     1.8  sub ACTION_authortest {
     1.9      my ($self) = @_;
    1.10  
    1.11      $self->depends_on('build');
    1.12 -    $self->depends_on('manifest');
    1.13 -    $self->depends_on('distmeta');
    1.14  
    1.15      $self->test_files( qw( t xt/author ) );
    1.16      $self->depends_on('test');
    1.17 @@ -25,8 +22,6 @@
    1.18      my ($self) = @_;
    1.19  
    1.20      $self->depends_on('build');
    1.21 -    $self->depends_on('manifest');
    1.22 -    $self->depends_on('distmeta');
    1.23  
    1.24      $self->test_files( qw( t xt/author xt/release ) );
    1.25      $self->depends_on('test');
    1.26 @@ -45,6 +40,14 @@
    1.27  
    1.28      return $self->SUPER::ACTION_manifest(@arguments);
    1.29  }
    1.30 +
    1.31 +sub ACTION_distmeta {
    1.32 +    my ($self) = @_;
    1.33 +	
    1.34 +    $self->depends_on('manifest');
    1.35 +	
    1.36 +    return $self->SUPER::ACTION_distmeta();
    1.37 +}
    1.38  END_CODE
    1.39  );
    1.40  {{