CC: | garfieldnate [...] gmail.com |
Subject: | Allow specification of directory |
It would be nice to be able to specify which directory is supposed to be tarballed
and shared, like Dist::Zilla::Plugin::File::ShareDir does. I haven't built a plugin
before, but it looks like it may be as easy as adding the following:
has dir => (
is => 'ro',
isa => 'Str',
default => 'share',
);
and changing line 26 to the following:
my @shared = grep { $_->name =~ m#$dir/# } @{ $self->zilla->files }