Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 57198
Status: open
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: marcoep [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.3607
Fixed in: (no value)



Subject: Should "{dist.real}clean" targets also remove META.yml and MANIFEST?
Download (untitled) / with headers
text/plain 372b
Hi there, META.yml and MANIFEST files are supposed (by many people) to be generated when preparing a distribution -- i.e., they may be considered distribution artifacts. So I would expect that: 1) "distclean" removes META.yml since it's created by "./Build dist" 2) "realclean" removes both. Otherwise, I'd like to have a special target to do that. Cheers, Marco
Subject: Re: [rt.cpan.org #57198] Should "{dist.real}clean" targets also remove META.yml and MANIFEST?
Date: Tue, 4 May 2010 11:56:03 -0400
To: bug-Module-Build [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
Download (untitled) / with headers
text/plain 609b
On Tue, May 4, 2010 at 6:33 AM, Marco Emilio Poleggi via RT <bug-Module-Build@rt.cpan.org> wrote: Show quoted text
> META.yml and MANIFEST files are supposed (by many people) to be > generated when preparing a distribution -- i.e., they may be considered > distribution artifacts.  So I would expect that: > 1) "distclean" removes META.yml since it's created by "./Build dist" > 2) "realclean" removes both. > > Otherwise, I'd like to have a special target to do that.
You don't need a special target, you can just use $obj->add_to_cleanup(@files) in your Build.PL file before calling $obj->create_build_script(). -- David
From: marcoep [...] gmail.com
Download (untitled) / with headers
text/plain 780b
Le Mar 04 Mai 2010 11:56:38, DAGOLDEN a écrit : Show quoted text
> On Tue, May 4, 2010 at 6:33 AM, Marco Emilio Poleggi via RT > <bug-Module-Build@rt.cpan.org> wrote:
> > META.yml and MANIFEST files are supposed (by many people) to be > > generated when preparing a distribution -- i.e., they may be considered > > distribution artifacts.  So I would expect that: > > 1) "distclean" removes META.yml since it's created by "./Build dist" > > 2) "realclean" removes both. > > > > Otherwise, I'd like to have a special target to do that.
> > You don't need a special target, you can just use > $obj->add_to_cleanup(@files) in your Build.PL file before calling > $obj->create_build_script(). > > -- David
Thanks a lot, it works! I actually missed it in the documentation, oops. Cheers, ^m'e


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.