Dist::Zilla::Plugin::Prereqs - list simple prerequisites


Dist-Zilla documentation  | view source Contained in the Dist-Zilla distribution.

Index


NAME

Top

Dist::Zilla::Plugin::Prereqs - list simple prerequisites

VERSION

Top

version 4.200008

SYNOPSIS

Top

In your dist.ini:

  [Prereqs]
  Foo::Bar = 1.002
  MRO::Compat = 10
  Sub::Exporter = 0

Which is equivalent to specifying prerequisites for the Runtime phase:

  [Prereqs / RuntimeRequires]
  Foo::Bar = 1.002
  MRO::Compat = 10
  Sub::Exporter = 0

See Phases for the full list of supported phases.

DESCRIPTION

Top

This module adds "fixed" prerequisites to your distribution. These are prereqs with a known, fixed minimum version that doens't change based on platform or other conditions.

You can specify prerequisites for different phases and kinds of relationships. In RuntimeRequires, the phase is Runtime and the relationship is Requires. These are described in more detail in the CPAN::Meta specification.

The phases are:

The relationship types are:

If the phase is omitted, it will default to runtime; thus, specifying "Prereqs / Recommends" in your dist.ini is equivalent to RuntimeRecommends.

Not all of these phases are useful for all tools, especially tools that only understand version 1.x CPAN::Meta files.

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation  | view source Contained in the Dist-Zilla distribution.