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:
parent
303370b6ce
commit
534546b042
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue