Use Makefile.PL to track prereqs #231

Merged
merged 5 commits into from Sep 7, 2012

Projects

None yet

2 participants

@rwstauner
MetaCPAN member

instead of dist.ini to lower the barrier for new contributors.

use the bin/unlisted_prereqs.pl to scan for anything not mentioned in there
(but note that not all prereqs are scannable yet).

Could use some clean up, but the Makefile.PL works well enough,
and you can just do cpanm . to install all the deps.

rwstauner added some commits Sep 7, 2012
@rwstauner rwstauner Use Makefile.PL for prereqs instead of dist.ini
It's a lower hurdle for contributors who don't already use dzil.
This Makefile.PL was generated by Dist::Zilla using the old dist.ini.

There is an appropriate 'make test' for all the people
who used to try 'dzil test'.
4568f71
@rwstauner rwstauner Show any scanned prereqs not listed in Makefile.PL a261a95
@rwstauner rwstauner Use File::Find::Rule::Perl to scan for prereqs
It's nicer and catches scripts that don't have file extensions.
c1c42bf
@rwstauner rwstauner Simplify unlisted_prereqs slightly a6542c6
@rwstauner rwstauner Make 'install' a no-op so 'cpanm .' appears successful eebaaf8
@oalders oalders merged commit 3ebaf7d into master Sep 7, 2012
@oalders
MetaCPAN member

Excellent -- thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment