我最近向CPAN上传了package,我receiving errors from the automated CPAN tests。该软件包附带了几个脚本:bin / node和bin / cluster。它们在我的Makefile.PL中列出如下:
EXE_FILES => [ 'bin/cluster', 'bin/node' ]
然而,当测试运行时,我会收到详细说明以下错误的电子邮件:
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
我不确定为什么我收到此错误并且无法在perl僧侣或谷歌上找到太多。当我在本地运行make test
时,我没有错误。
答案 0 :(得分:4)
将bin/cluster
和bin/node
添加到您的MANIFEST
文件中。