File Coverage

blib/lib/Dist/Zilla/PluginBundle/Alien.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 0 2 0.0
total 28 30 93.3


line stmt bran cond sub pod time code
1             our $AUTHORITY = 'cpan:GETTY';
2             # ABSTRACT: Dist::Zilla::PluginBundle::Basic for Alien
3             $Dist::Zilla::PluginBundle::Alien::VERSION = '0.024';
4             use Moose;
5 2     2   2831923 use Dist::Zilla;
  2         7  
  2         17  
6 2     2   12950 use Dist::Zilla::Plugin::Alien;
  2         621801  
  2         101  
7 2     2   598 with 'Dist::Zilla::Role::PluginBundle::Easy';
  2         7  
  2         101  
8              
9              
10             use Dist::Zilla::PluginBundle::Basic;
11 2     2   1199  
  2         132989  
  2         268  
12             # multiple build/install commands return as an arrayref
13             Dist::Zilla::Plugin::Alien->mvp_multivalue_args;
14             };
15 1     1 0 183  
16             my ($self) = @_;
17              
18             $self->add_bundle('Filter' => {
19 1     1 0 9 -bundle => '@Basic',
20             -remove => ['MakeMaker'],
21 1         10 });
22              
23             $self->add_plugins([ 'Alien' => {
24             map { $_ => $self->payload->{$_} } keys %{$self->payload},
25             }]);
26             }
27 1         16372  
  5         145  
  1         32  
28             __PACKAGE__->meta->make_immutable;
29             no Moose;
30             1;
31              
32 2     2   17  
  2         6  
  2         18  
33             =pod
34              
35             =head1 NAME
36              
37             Dist::Zilla::PluginBundle::Alien - Dist::Zilla::PluginBundle::Basic for Alien
38              
39             =head1 VERSION
40              
41             version 0.024
42              
43             =head1 SYNOPSIS
44              
45             In your B<dist.ini>:
46              
47             name = Alien-ffmpeg
48              
49             [@Alien]
50             repo = http://ffmpeg.org/releases
51              
52             =head1 DESCRIPTION
53              
54             B<NOTE>: This module uses the older, and still supported, but not actively
55             developed L<Alien::Base::ModuleBuild> interface for installing aliens. You
56             should use L<Dist::Zilla::Plugin::AlienBuild> for new L<Alien>s, and consider
57             migration for older code as well.
58              
59             This plugin bundle allows to use L<Dist::Zilla::Plugin::Alien> together
60             with L<Dist::Zilla::PluginBundle::Basic>.
61              
62             =head1 BUGS
63              
64             Please report any bugs or feature requests on the bugtracker website
65             L<https://github.com/PerlAlien/Dist-Zilla-Plugin-Alien/issues>
66              
67             When submitting a bug or request, please include a test-file or a
68             patch to an existing test-file that illustrates the bug or desired
69             feature.
70              
71             =head1 AUTHOR
72              
73             Torsten Raudssus <torsten@raudss.us>
74              
75             =head1 COPYRIGHT AND LICENSE
76              
77             This software is copyright (c) 2013 by Torsten Raudssus.
78              
79             This is free software; you can redistribute it and/or modify it under
80             the same terms as the Perl 5 programming language system itself.
81              
82             =cut