kasei / perl-iri

Perl implementation of Internationalized Resource Identifiers (IRIs)
0 stars 6 forks source link

Add cpanfile, with M::I deps #5

Closed ambs closed 8 years ago

ambs commented 8 years ago

This way other deps that clone your rep can install de dependencies on M::I using cpanm. For details see http://blogs.perl.org/users/lestrrat/2013/03/the-main-problem-with-cpan-modules-on-github.html

kasei commented 8 years ago

Not sure I fully understand what this is doing. Should this include other things like Module::Install::AuthorTests?

ambs commented 8 years ago

I just fixed the cpanfile, changing the phase where it is needed (develop) and adding the module you suggest. The idea is, for someone who downloads the repo from git, can do cpanm --installdeps . and have Module::Install deps installed without needing to look to the Makefile.PL and guess the deps.

it could also list the other deps from Makefile.PL, but I didn't add them at this time, as I also did not added cpanfile to the MANIFEST.

In any case, I can change at will :)