Dist-Zilla-BeLike-CSJEWELL

changeset 37:6b3c1474dade 0.901

Tabifying Build.PL.
author Curtis Jewell <csjewell@cpan.org>
date Thu Aug 19 02:21:10 2010 -0600 (2010-08-19)
parents 999dd0f76584
children c7179451a6e3
files Build.PL
line diff
     1.1 --- a/Build.PL	Thu Aug 19 02:20:45 2010 -0600
     1.2 +++ b/Build.PL	Thu Aug 19 02:21:10 2010 -0600
     1.3 @@ -7,68 +7,68 @@
     1.4  	code  => <<'END_CODE',
     1.5  
     1.6  sub ACTION_authortest {
     1.7 -    my ($self) = @_;
     1.8 +	my ($self) = @_;
     1.9  
    1.10 -    $self->depends_on('build');
    1.11 +	$self->depends_on('build');
    1.12  
    1.13 -    $self->test_files( qw( t xt/author ) );
    1.14 -    $self->depends_on('test');
    1.15 +	$self->test_files( qw( t xt/author ) );
    1.16 +	$self->depends_on('test');
    1.17  
    1.18 -    return;
    1.19 +	return;
    1.20  }
    1.21  
    1.22  
    1.23  
    1.24  sub ACTION_releasetest {
    1.25 -    my ($self) = @_;
    1.26 +	my ($self) = @_;
    1.27  
    1.28 -    $self->depends_on('build');
    1.29 +	$self->depends_on('build');
    1.30  
    1.31 -    $self->test_files( qw( t xt/author xt/release ) );
    1.32 -    $self->depends_on('test');
    1.33 +	$self->test_files( qw( t xt/author xt/release ) );
    1.34 +	$self->depends_on('test');
    1.35  
    1.36 -    return;
    1.37 +	return;
    1.38  }
    1.39  
    1.40  
    1.41  
    1.42  sub ACTION_manifest {
    1.43 -    my ($self, @arguments) = @_;
    1.44 +	my ($self, @arguments) = @_;
    1.45  
    1.46 -    if (-e 'MANIFEST') {
    1.47 -        unlink 'MANIFEST' or die "Can't unlink MANIFEST: $!";
    1.48 -    }
    1.49 +	if (-e 'MANIFEST') {
    1.50 +		unlink 'MANIFEST' or die "Can't unlink MANIFEST: $!";
    1.51 +	}
    1.52  
    1.53 -    return $self->SUPER::ACTION_manifest(@arguments);
    1.54 +	return $self->SUPER::ACTION_manifest(@arguments);
    1.55  }
    1.56  
    1.57  sub ACTION_distmeta {
    1.58 -    my ($self) = @_;
    1.59 -	
    1.60 -    $self->depends_on('manifest');
    1.61 -	
    1.62 -    return $self->SUPER::ACTION_distmeta();
    1.63 +	my ($self) = @_;
    1.64 +
    1.65 +	$self->depends_on('manifest');
    1.66 +
    1.67 +	return $self->SUPER::ACTION_distmeta();
    1.68  }
    1.69  END_CODE
    1.70  );
    1.71  
    1.72  
    1.73  my $builder = $class->new(
    1.74 -    module_name              => 'Dist::Zilla::BeLike::CSJEWELL',
    1.75 -    license                  => 'perl',
    1.76 -    dist_author              => [ 'Curtis Jewell <CSJewell@cpan.org>' ],
    1.77 -    dist_version_from        => 'lib/Dist/Zilla/BeLike/CSJEWELL.pm',
    1.78 +	module_name              => 'Dist::Zilla::BeLike::CSJEWELL',
    1.79 +	license                  => 'perl',
    1.80 +	dist_author              => [ 'Curtis Jewell <CSJewell@cpan.org>' ],
    1.81 +	dist_version_from        => 'lib/Dist/Zilla/BeLike/CSJEWELL.pm',
    1.82  	create_readme            => 1,
    1.83  	create_license           => 1,
    1.84  	create_makefile_pl       => 'small',
    1.85  	configure_requires       => {
    1.86 -        'Module::Build'      => '0.33',
    1.87 +		'Module::Build'      => '0.33',
    1.88  	},
    1.89 -    requires => {
    1.90 -        'perl'                                => '5.008003',	
    1.91 -        'Dist::Zilla'                         => '4.102221',
    1.92 -        'Dist::Zilla::Plugin::Mercurial'      => '0.03',
    1.93 -        'Dist::Zilla::Plugin::Twitter'        => '0.009',
    1.94 +	requires => {
    1.95 +		'perl'                                => '5.008003',	
    1.96 +		'Dist::Zilla'                         => '4.102221',
    1.97 +		'Dist::Zilla::Plugin::Mercurial'      => '0.03',
    1.98 +		'Dist::Zilla::Plugin::Twitter'        => '0.009',
    1.99  		'Module::Build'                       => '0.33',
   1.100  		'Moose'                               => '1.09',
   1.101  		'autodie'                             => '2.10',
   1.102 @@ -105,24 +105,24 @@
   1.103  		'Test::HasVersion'                    => '0.012',
   1.104  		'Test::Prereq::Build'                 => '1.037',
   1.105  		'Test::Portability::Files'            => '0.05',
   1.106 -    },
   1.107 +	},
   1.108  	build_requires => {
   1.109  		'Test::More'                          => '0.88',
   1.110  		'Test::UseAllModules'                 => '0.12',
   1.111  	},
   1.112 -    meta_merge     => {
   1.113 -        resources => {
   1.114 -            homepage    => 'http://csjewell.comyr.com/perl/',
   1.115 -            bugtracker  => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dist-Zilla-BeLike-CSJEWELL',
   1.116 -            repository  => 'http://bitbucket.org/csjewell/dist-zilla-belike-csjewell'
   1.117 -        },
   1.118 -    },
   1.119 +	meta_merge     => {
   1.120 +		resources => {
   1.121 +			homepage    => 'http://csjewell.comyr.com/perl/',
   1.122 +			bugtracker  => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dist-Zilla-BeLike-CSJEWELL',
   1.123 +			repository  => 'http://bitbucket.org/csjewell/dist-zilla-belike-csjewell'
   1.124 +		},
   1.125 +	},
   1.126  	share_dir => {
   1.127  		module => {
   1.128  			'Dist::Zilla::MintingProfile::CSJEWELL'  => 'share',
   1.129  		}
   1.130  	},
   1.131 -    add_to_cleanup      => [ 'Dist-Zilla-BeLike-CSJEWELL-*', ],
   1.132 +	add_to_cleanup      => [ 'Dist-Zilla-BeLike-CSJEWELL-*', ],
   1.133  );
   1.134  
   1.135  $builder->create_build_script();