Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-GenerateFile-FromShareDir CPAN distribution.

Report information
The Basics
Id: 119340
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-GenerateFile-FromShareDir

People
Owner: Nobody in particular
Requestors: DROLSKY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.013



Subject: Use of File::ShareDir doesn't work before bundle is installed
I'm making a new bundle that uses this plugin to generate a CONTRIBUTING.md. I've never installed this bundle yet, so it has no share dir in @INC. This means that when I try to "dzil build" the bundle using the bundle itself, it can't find the share dir and croaks. The only way I can think of to fix this is to special case when the dist being built is the same as the dist from which the file comes, and to not use File::ShareDir in that case. I could make a patch for that.
fixed in 0.013 via PR#2.