od sub _build_plugin { [
#pod 'GatherDir',
#pod 'Manifest',
#pod 'MetaJSON',
#pod ] };
#pod
#pod run_me {
#pod plugins => [
#pod 'GatherDir',
#p
.json' => sub {
#pod my ( $self ) = @_;
#pod $self->skip_if_exception();
#pod my $built_in = path( $self->tzil->built_in );
#pod my $json = $built_in->child( 'META.json
' )->slurp_utf8;
#pod cmp_deeply( $json, $self->expected->{ json } );
#pod };
#pod
#pod =cut
has tzil => (
is => 'ro',
isa => 'Object',
lazy => 1,
Plugins to use.
#pod 'GatherDir',
#pod 'Manifest',
#pod 'MetaJSON',
#pod ],
#pod files => { # Files to add.
#pod
# Expected content of MANIFEST.
#pod 'MANIFEST',
#pod 'META.json',
#pod 'dist.ini',
#pod 'lib/Dummy.pm',
#pod ],
#pod
# Plugins to use.
'GatherDir',
'Manifest',
'MetaJSON',
],
files => { # Files to add.
'lib/Dummy.p
plugins => [
#pod 'GatherDir',
#pod 'Manifest',
#pod 'MetaJSON',
#pod ],
#pod files => {
#pod 'lib/Dummy.pm' => 'package Dummy; 1;',
re( qr{^# This file was } ),
#pod 'MANIFEST',
#pod 'META.json',
#pod 'dist.ini',
#pod 'lib/Dummy.pm',
#pod
test' => {
plugins => [
'GatherDir',
'Manifest',
'MetaJSON',
],
files => {
'lib/Dummy.pm' => 'package Dummy; 1;',
},