0

我最近将一个上传到 CPAN 并收到来自自动 CPAN 测试的错误。该软件包带有几个脚本: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本地运行时,我没有收到任何错误。

4

1 回答 1

4

添加bin/clusterbin/node到您的MANIFEST文件。

于 2013-07-26T13:44:55.180 回答