X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=cf902bbc5dc3182f27f3e7ea80fe82cd6f254767;hb=909ce0526ab480e6fc167c458cad4c4a7540b70e;hp=21b45797464c775e9c0e7facd060936387a8f0d3;hpb=40aef9d69ad5c2a21995d57d3d783d84aff0b59d;p=p5sagit%2Fnamespace-clean.git diff --git a/Makefile.PL b/Makefile.PL index 21b4579..cf902bb 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,13 +6,27 @@ use inc::Module::Install; name q{namespace-clean}; license q{perl}; -author q{Robert 'phaylon' Sedlacek }; +author q{Robert 'phaylon'' Sedlacek }; all_from q{lib/namespace/clean.pm}; -build_requires q{Test::More}, '0.62'; +build_requires q{Test::More}, '0.88'; build_requires q{FindBin}, 0; -requires q{Filter::EOF}, '0.02'; +requires q{B::Hooks::EndOfScope}, '0.07'; requires q{Symbol}, 0; +requires q{Sub::Name}, '0.04'; +requires q{Sub::Identify}, '0.04'; + +auto_provides; +auto_install; + +if (-e 'MANIFEST.SKIP') { + + print "Creating README file\n"; + system 'pod2text lib/namespace/clean.pm > README'; + + print "Adding author tests to 'make test' run\n"; + tests 't/*.t t_author/*.t'; +} WriteAll;