CPAN Testers and giant library

Dear lazyweb,

I am about to upload a new Alien:: distribution that downloads, builds, and installs a very, very large library. The installation of this Alien:: distribution occupies about 240MB on my laptop and compile times are huge even on my fast computer.

Is there a way to flag a distribution as unsuitable for CPAN testers? I'd rather not abuse the volunteer infrastructure by having them compile a library over night.

2 Comments

At the top of your Makefile.PL or Build.PL, add the line:

exit 0 if $ENV{AUTOMATED_TESTING};

As long as the exit code is zero and no Makefile or Build is created, the CPAN Testers will just ignore your distribution and move on.

This and other questions are answered in the Notes For CPAN Authors on the CPAN Testers Wiki.

Leave a comment

About Steffen Mueller

user-pic I blog about Perl just like everyone else. Cf. http://search.cpan.org/~smueller, http://steffen-mueller.net