forked from rjbs/Dist-Zilla
/
MetaTests.pm
40 lines (28 loc) · 946 Bytes
/
MetaTests.pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package Dist::Zilla::Plugin::MetaTests;
# ABSTRACT: common extra tests for META.yml
use Moose;
extends 'Dist::Zilla::Plugin::InlineFiles';
use namespace::autoclean;
=head1 DESCRIPTION
This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the
following files:
xt/release/meta-yaml.t - a standard Test::CPAN::Meta test
Note that this test doesn't actually do anything unless you have
L<Test::CPAN::Meta> installed.
=head1 SEE ALSO
Core Dist::Zilla plugins:
L<MetaResources|Dist::Zilla::Plugin::MetaResources>,
L<MetaNoIndex|Dist::Zilla::Plugin::MetaNoIndex>,
L<MetaYAML|Dist::Zilla::Plugin::MetaYAML>,
L<MetaJSON|Dist::Zilla::Plugin::MetaJSON>,
L<MetaConfig|Dist::Zilla::Plugin::MetaConfig>.
=cut
__PACKAGE__->meta->make_immutable;
1;
__DATA__
___[ xt/release/distmeta.t ]___
#!perl
use Test::More;
eval "use Test::CPAN::Meta";
plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
meta_yaml_ok();