| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | package Dist::Zilla::Plugin::MungeFile::WithData; | ||
| 4 | # ABSTRACT: (DEPRECATED) Modify files in the build, with templates and DATA section | ||
| 5 | # vim: set ts=8 sts=4 sw=4 tw=115 et : | ||
| 6 | |||
| 7 | our $VERSION = '0.009'; | ||
| 8 | |||
| 9 | use Moose; | ||
| 10 | extends 'Dist::Zilla::Plugin::MungeFile::WithDataSection'; | ||
| 11 | use namespace::autoclean; | ||
| 12 | |||
| 13 | before register_component => sub { | ||
| 14 | warnings::warnif('deprecated', | ||
| 15 | "!!! [MungeFile::WithData] is deprecated and will be removed in a future release; replace it with [MungeFile::WithDataSection]\n", | ||
| 16 | ); | ||
| 17 | }; | ||
| 18 | |||
| 19 | __PACKAGE__->meta->make_immutable; | ||
| 20 | |||
| 21 | __END__ |