rjbs / Dist-Zilla

scary tools for building CPAN distributions
http://dzil.org/
186 stars 152 forks source link

AutoPrereqs should scan xt/author/ and xt/release/ to report Prereqs/DevelopRequires deps [rt.cpan.org #77359] #688

Open rjbs opened 3 years ago

rjbs commented 3 years ago

https://rt.cpan.org/Ticket/Display.html?id=77359

Some code in a distribution may be only for developer (patcher) usage,
and will never be used either at runtime or during the install process
on a final user machine.
This is the case for extra tests for author and release testing. Such
tests are usually distributed in the xt/ directory, respectively in
xt/author/ and xt/release/ as established by the ExtraTests plugin.

Those directories should be scanned for dependencies, and those should
be reported in Meta as "develop" / "requires".

-- 
Olivier Mengué - http://perlresume.org/DOLMEN