Module: OS::Mac::TestBot::CleanupBefore Private
- Extended by:
- T::Helpers
- Included in:
- Homebrew::TestBot::CleanupBefore
- 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
#cleanup_github_actions_hosted_runner ⇒ 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.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'extend/os/mac/test_bot.rb', line 62 def cleanup_github_actions_hosted_runner delete_or_move HOMEBREW_CELLAR.glob("*") delete_or_move HOMEBREW_CASKROOM.glob("session-manager-plugin") delete_or_move %w[ Mono.framework PluginManager.framework Python.framework R.framework Xamarin.Android.framework Xamarin.Mac.framework Xamarin.iOS.framework ].map { |framework| ::Pathname.new("/Library/Frameworks")/framework }, sudo: true end |