Dist-Zilla-BeLike-CSJEWELL

changeset 18:ec13518aa623

No need to run 'Build manifest' twice.
author Curtis Jewell <csjewell@cpan.org>
date Fri Aug 13 11:27:41 2010 -0600 (2010-08-13)
parents a1955355da78
children 9cf48703840d
files lib/Dist/Zilla/Plugin/CSJEWELL/BeforeBuild.pm
line diff
     1.1 --- a/lib/Dist/Zilla/Plugin/CSJEWELL/BeforeBuild.pm	Fri Aug 13 11:27:17 2010 -0600
     1.2 +++ b/lib/Dist/Zilla/Plugin/CSJEWELL/BeforeBuild.pm	Fri Aug 13 11:27:41 2010 -0600
     1.3 @@ -16,7 +16,7 @@
     1.4  	#   "perl Build.PL && Build manifest && Build distmeta", 
     1.5  	# only in code.
     1.6  	my $builder = Module::Build->new_from_context();
     1.7 -	$builder->ACTION_manifest();
     1.8 +	# Our ACTION_distmeta depends on 'manifest', so runs it.
     1.9  	$builder->ACTION_distmeta();
    1.10  
    1.11  	return 1;