diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-09-03 16:02:52 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-09-03 16:02:52 -0400 |
commit | 96ea738525c974a40a102d360cec41c748c92e37 (patch) | |
tree | 1390662a9cace308afa9a9c08e6e6bff1631c4d9 /inc/DistMeta.pm | |
parent | 84b1caed7372b30e336aef59d9659991f1e19420 (diff) | |
download | package-stash-96ea738525c974a40a102d360cec41c748c92e37.tar.gz package-stash-96ea738525c974a40a102d360cec41c748c92e37.zip |
packaging stuff
Diffstat (limited to 'inc/DistMeta.pm')
-rw-r--r-- | inc/DistMeta.pm | 31 |
1 files changed, 0 insertions, 31 deletions
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; |