NAME
Dist::Zooky::DistIni - Generates a Dist::Zilla dist.ini file
VERSION
version 0.24
SYNOPSIS
my $meta = {
type => 'MakeMaker',
name => 'Foo-Bar',
version => '0.02',
author => [ 'Duck Dodgers', 'Ivor Biggun' ],
license => [ 'Perl_5' ],
prereqs => {
'runtime' => {
'requires' => { 'Moo::Cow' => '0.19' },
},
}
};
my $distini = Dist::Zooky::DistIni->new( metadata => $meta );
$distini->write();
DESCRIPTION
Dist::Zooky::DistIni takes meta data and writes a Dist::Zilla dist.ini
file.
ATTRIBUTES
These attributes are passed to DistIni plugins.
type
-
A required attribute, the type of distribution,
MakeMaker
for ExtUtils::MakeMaker or Module::Install ( yeah, I know ) based distributions, orModBuild
for Module::Build based distributions. metadata
-
A required attribute. This is a
HASHREF
of meta data.
METHODS
write
-
Writes a
dist.ini
file with the providesmetadata
. Takes an optional parameter, which is the filename to write to, the default beingdist.ini
.
NAME
Dist::Zooky::DistIni - Generates a Dist::Zilla dist.ini file
AUTHOR
Chris Williams <chris@bingosnet.co.uk>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.