From 4feb8e1cb4cf20df93e18c7642d68fe4a4bba6c7 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 29 Aug 2012 14:13:46 -0400 Subject: [PATCH] Deprecate skip_clean :all This was mostly used to prevent stripping. Now we don't strip. Force formula to remove this setting or be more specific about folders they don't want pruned. --- Library/Homebrew/formula.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 08e01a7d78..2c33452560 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -678,7 +678,11 @@ private def skip_clean paths if paths == :all - @skip_clean_all = true + opoo "skip_clean :all is deprecated" + puts "Skip clean was commonly used to prevent brew from stripping binaries." + puts "brew no longer strips binaries, if skip_clean is required to prevent" + puts "brew from removing empty directories, you should specify exact paths" + puts "in the formula." return end @skip_clean_paths ||= []