mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
spec_helper: always remove Frameworks
This commit is contained in:
parent
c2cb6cfa79
commit
1ad0addbc8
@ -185,6 +185,7 @@ RSpec.configure do |config|
|
||||
HOMEBREW_PINNED_KEGS,
|
||||
HOMEBREW_PREFIX/"var",
|
||||
HOMEBREW_PREFIX/"Caskroom",
|
||||
HOMEBREW_PREFIX/"Frameworks",
|
||||
HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-cask",
|
||||
HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-bar",
|
||||
HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-bundle",
|
||||
@ -198,11 +199,6 @@ RSpec.configure do |config|
|
||||
CoreTap.instance.path/"formula_renames.json",
|
||||
*Pathname.glob("#{HOMEBREW_CELLAR}/*/"),
|
||||
]
|
||||
if OS.mac?
|
||||
FileUtils.rm_rf [
|
||||
HOMEBREW_PREFIX/"Frameworks",
|
||||
]
|
||||
end
|
||||
|
||||
files_after_test = find_files
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user