perlcpan

CPAN testers error attempting to make script target


I recently uploaded a package to CPAN and am receiving errors from the automated CPAN tests. The package comes with several scripts: bin/node and bin/cluster. They are listed in my Makefile.PL like so:

EXE_FILES => [ 'bin/cluster', 'bin/node' ]

However, when the tests are run, I get emails detailing the following error:

TEST RESULTS:

Below is the error stack from stage 'make test':

cp lib/Argon/Node.pm blib/lib/Argon/Node.pm
cp lib/Argon/Queue.pm blib/lib/Argon/Queue.pm
cp lib/Argon/Message.pm blib/lib/Argon/Message.pm
cp lib/Argon/Cluster.pm blib/lib/Argon/Cluster.pm
cp lib/Argon/Worker.pm blib/lib/Argon/Worker.pm
cp lib/Argon/Stream.pm blib/lib/Argon/Stream.pm
cp lib/Argon/NodeTracker.pm blib/lib/Argon/NodeTracker.pm
cp lib/Argon/Client.pm blib/lib/Argon/Client.pm
cp lib/Argon.pm blib/lib/Argon.pm
cp lib/Argon/Role/Task.pm blib/lib/Argon/Role/Task.pm
cp lib/Argon/Server.pm blib/lib/Argon/Server.pm
cp lib/Argon/Process.pm blib/lib/Argon/Process.pm
make: don't know how to make bin/node. Stop

I am not certain as to why I am getting this error. When I run make test locally, I get no errors.


Solution

  • Add bin/cluster and bin/node to your MANIFEST file.