Group
Extension

Matches 2

Dist-Inkt ( T/TO/TOBYINK/Dist-Inkt-0.026.tar.gz, TOBYINK, 2021; MetaCPAN )
Dist-Inkt/lib/Dist/Inkt/Role/WriteINSTALL.pm ( view source; MetaCPAN )
sort, you can manually install it. Download the tarball and unpack it.",
		"Consult the file META.json for a list of pre-requisites. Install these first.",
		sprintf("To build %s:", $self->name),
		"\
Dist-Inkt ( T/TO/TOBYINK/Dist-Inkt-0.026.tar.gz, TOBYINK, 2021; MetaCPAN )
Dist-Inkt/lib/Dist/Inkt/Role/WriteMetaJSON.pm ( view source; MetaCPAN )
eMetaJSON;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION   = '0.026';

use Moose::Role;
use namespace::autoclean;

after BUILD => sub {
	my $self = shift;
	unshift @{ $self->targets }, 'MetaJSON';
};


sub Build_MetaJSON
{
	my $self = shift;
	my $file = $self->targetfile('META.json');
	$file->exists and return $self->log('Skipping %s; it already exists', $file);
	$self->log('Writing %s', $file);
	
$self->rights_for_generated_files->{'META.json'} ||= [
		$self->_inherited_rights
	];
	$self->metadata->save($file, { version => '2' });
}

1;

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.