[Rake-devel] [PATCH] clean.rb, directories
jim at weirichhouse.org
Sun Feb 4 21:55:35 EST 2007
Daniel Berger wrote:
> This is a patch for the clean task, so that it only deletes files, not
> This addresses an earlier email where someone brought up the fact that
> "rake clean" deletes a directory named 'core', not just core files.
> Since I hit it myself recently, I figure I should submit a patch. :)
Thanks for the suggestion. However, prohibiting CLEAN from deleting
directories feels like it is cutting off the arm to fix a hangnail.
CLEAN should be able to delete any temporary files created during a
build process, and that might include directories.
I would rather see a solution targeted explicitly at the "core"
-- Jim Weirich
More information about the Rake-devel