I am trying to build this Perl module:
git clone [email protected]:jrockway/anyevent-subprocess.git
cd anyevent-subprocess
dzil authordeps --missing | cpanm
dzil build
But the build aborts with an error:
[Test] No -phase or -relationship specified
[Test] No -phase or -relationship specified at /home/hakon/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/Dist/Zilla/Plugin/Prereqs.pm line 162.
The dist.ini file looks like this:
name = AnyEvent-Subprocess
[@JROCKWAY]
[Prereqs]
Moose = 1.15
Event::Join = 0.05
JSON = 2
[Prereqs/Test]
EV = 4.0
Why am I getting this error?
According to Dist::Zilla::Plugin::Prereqs:
The
dist.inidoes not specify a phase or a relationship for the[Prereqs/Test]plugin, also the nameTestis not a camel case concatenation of a phase and a relationship (as defined in CPAN::Meta), hencedzil buildthrows an error to warn that the nameTestis meaningless.Solution:
Add a relationship to the name, e.g.
Requires: