Module: OS::Mac::TestBot::Formulae Private

Extended by:
T::Helpers
Included in:
Homebrew::TestBot::Formulae
Defined in:
extend/os/mac/test_bot.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#setup_bottle_sudo_purge!(args:) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.



38
39
40
41
42
# File 'extend/os/mac/test_bot.rb', line 38

def setup_bottle_sudo_purge!(args:)
  # This is needed where sparse files may be handled (bsdtar >=3.0).
  # We use gnu-tar with sparse files disabled when --only-json-tab is passed.
  ENV["HOMEBREW_BOTTLE_SUDO_PURGE"] = "1" if MacOS.version >= :catalina && !args.only_json_tab?
end