Allow skip_clean as a class method

Pass in a list of any files that you don't want cleaned
with a path relative to the cellar. e.g. `strip_paths ['bin/znc']`
It's backwards compatible with def strip_clean?, at least for now.

The znc formula is updated as an example.
This commit is contained in:
Andre Arko 2009-09-28 14:06:53 -07:00 committed by Max Howell
parent 303370b6ce
commit 534546b042

View file

@ -13,9 +13,7 @@ class Znc <Formula
depends_on 'c-ares'
def skip_clean? path
path == bin+'znc'
end
skip_clean 'bin/znc'
def install
# This is a 3rd-party module that handles push notifications for Colloquy on the iPhone