From 96ea738525c974a40a102d360cec41c748c92e37 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 3 Sep 2013 16:02:52 -0400 Subject: packaging stuff --- inc/DistMeta.pm | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 inc/DistMeta.pm (limited to 'inc') diff --git a/inc/DistMeta.pm b/inc/DistMeta.pm deleted file mode 100644 index aa340f5..0000000 --- a/inc/DistMeta.pm +++ /dev/null @@ -1,31 +0,0 @@ -package inc::DistMeta; -use Moose; - -has metadata => ( - is => 'ro', - isa => 'HashRef', - required => 1, -); - -with 'Dist::Zilla::Role::MetaProvider'; - -around BUILDARGS => sub { - my $orig = shift; - my $self = shift; - - my $params = $self->$orig(@_); - - my $zilla = delete $params->{zilla}; - my $plugin_name = delete $params->{plugin_name}; - - return { - zilla => $zilla, - plugin_name => $plugin_name, - metadata => $params, - }; -}; - -__PACKAGE__->meta->make_immutable; -no Moose; - -1; -- cgit v1.2.3-54-g00ecf