File Coverage

blib/lib/Dist/Zilla/Plugin/GenerateFile/ShareDir.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 1     1   1904697 use strict;
  1         2  
  1         29  
2 1     1   3 use warnings;
  1         2  
  1         50  
3             package Dist::Zilla::Plugin::GenerateFile::ShareDir;
4             # vim: set ts=8 sts=4 sw=4 tw=115 et :
5             # ABSTRACT: (DEPRECATED) Create files in the repository or in the build, based on a template located in a dist sharedir
6              
7             our $VERSION = '0.013';
8              
9 1     1   4 use Moose;
  1         1  
  1         6  
10             extends 'Dist::Zilla::Plugin::GenerateFile::FromShareDir';
11 1     1   4044 use namespace::autoclean;
  1         1  
  1         7  
12              
13             before register_component => sub {
14             warnings::warnif('deprecated',
15             "!!! [GenerateFile::ShareDir] is deprecated and may be removed in a future release; replace it with [GenerateFile::FromShareDir]\n",
16             );
17             };
18              
19             __PACKAGE__->meta->make_immutable;
20              
21             __END__
22              
23             =pod
24              
25             =encoding UTF-8
26              
27             =for stopwords sharedir
28              
29             =head1 NAME
30              
31             Dist::Zilla::Plugin::GenerateFile::ShareDir - (DEPRECATED) Create files in the repository or in the build, based on a template located in a dist sharedir
32              
33             =head1 VERSION
34              
35             version 0.013
36              
37             =head1 SYNOPSIS
38              
39             In your F<dist.ini>:
40              
41             [GenerateFile::FromShareDir]
42             ...
43              
44             =head1 DESCRIPTION
45              
46             THIS MODULE IS DEPRECATED. Please use
47             L<Dist::Zilla::Plugin::Generatefile::ShareDir> instead. it may be removed at a
48             later time (but not before April 2016).
49              
50             In the meantime, it will continue working -- although with a warning.
51             Refer to the replacement for the full documentation.
52              
53             =head1 SUPPORT
54              
55             Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-GenerateFile-FromShareDir>
56             (or L<bug-Dist-Zilla-Plugin-GenerateFile-FromShareDir@rt.cpan.org|mailto:bug-Dist-Zilla-Plugin-GenerateFile-FromShareDir@rt.cpan.org>).
57              
58             There is also a mailing list available for users of this distribution, at
59             L<http://dzil.org/#mailing-list>.
60              
61             There is also an irc channel available for users of this distribution, at
62             L<C<#distzilla> on C<irc.perl.org>|irc://irc.perl.org/#distzilla>.
63              
64             I am also usually active on irc, as 'ether' at C<irc.perl.org>.
65              
66             =head1 AUTHOR
67              
68             Karen Etheridge <ether@cpan.org>
69              
70             =head1 COPYRIGHT AND LICENCE
71              
72             This software is copyright (c) 2013 by Karen Etheridge.
73              
74             This is free software; you can redistribute it and/or modify it under
75             the same terms as the Perl 5 programming language system itself.
76              
77             =cut