line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::PluginBundle::ACPS::Legacy; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1850
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use v5.10; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Dist::Zilla ACPS bundle for dists not originally written with Dist::Zilla in mind |
7
|
|
|
|
|
|
|
our $VERSION = '0.30'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
extends 'Dist::Zilla::PluginBundle::ACPS'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use namespace::autoclean; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
around plugin_list => sub { |
14
|
|
|
|
|
|
|
my $orig = shift; |
15
|
|
|
|
|
|
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
my @list = grep { (ref $_ ? $_->[0] : $_) !~ /^(Meta(YAML|JSON)|Readme|ModuleBuild|Manifest|PodWeaver|NextRelease|AutoPrereqs|OurPkgVersion)$/ } $self->$orig(@_); |
18
|
|
|
|
|
|
|
push @list, 'ACPS::Legacy'; |
19
|
|
|
|
|
|
|
@list; |
20
|
|
|
|
|
|
|
}; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub is_legacy { 1 } |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub allow_dirty { [ qw( dist.ini META.yml META.json ) ] }; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Dist::Zilla::PluginBundle::ACPS::Legacy - Dist::Zilla ACPS bundle for dists not originally written with Dist::Zilla in mind |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 0.30 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 DESCRIPTION |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This plugin bundle is identical to L<@ACPS|Dist::Zilla::PluginBundle::ACPS> except it does not include |
45
|
|
|
|
|
|
|
L<Manifest|Dist::Zilla::Plugin::Manifest>, |
46
|
|
|
|
|
|
|
L<MetaYAML|Dist::Zilla::Plugin::MetaYAML>, |
47
|
|
|
|
|
|
|
L<MetaJSON|Dist::Zilla::Plugin::MetaJSON>, |
48
|
|
|
|
|
|
|
L<Readme|Dist::Zilla::Plugin::Readme>, |
49
|
|
|
|
|
|
|
L<NextRelease|Dist::Zilla::Plugin::NextRelease>, |
50
|
|
|
|
|
|
|
L<AutoPrereqs|Dist::Zilla::Plugin::AutoPrereqs>, |
51
|
|
|
|
|
|
|
L<ModuleBuild|Dist::Zilla::Plugin::ModuleBuild> or |
52
|
|
|
|
|
|
|
L<MakeMaker|Dist::Zilla::Plugin::MakeMaker>, as these are usually maintained by hand or via the Build.PL |
53
|
|
|
|
|
|
|
in older ACPS distributions. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This plugin bundle also includes L<ACPS::Legacy|Dist::Zilla::Plugin::ACPS::Legacy>. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Graham Ollis <gollis@sesda3.com> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This software is copyright (c) 2012 by NASA GSFC. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
66
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=cut |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
__END__ |
72
|
|
|
|
|
|
|
|