New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apply extend/os to migrate_gcc_dependents_if_needed
#14437
apply extend/os to migrate_gcc_dependents_if_needed
#14437
Conversation
@@ -0,0 +1,12 @@ | |||
# typed: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling this os/mac/cmd/update-report
may be better (and same for below file too)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @hyuraku, almost there!
@@ -9,6 +9,7 @@ | |||
require "cli/parser" | |||
require "settings" | |||
require "linuxbrew-core-migration" | |||
require "extend/os/update-report" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
require "extend/os/update-report" | |
require "extend/os/cmd/update-report" |
if OS.mac? | ||
require "extend/os/mac/cmd/update-report" | ||
elsif OS.linux? | ||
require "extend/os/linux/cmd/update-report" | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if OS.mac? | |
require "extend/os/mac/cmd/update-report" | |
elsif OS.linux? | |
require "extend/os/linux/cmd/update-report" | |
end | |
if OS.linux? | |
require "extend/os/linux/cmd/update-report" | |
end |
@@ -0,0 +1,12 @@ | |||
# typed: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can remove this file
- repair if condition - repair require filename
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @hyuraku!
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?apply
extend/os
toHomebrew#migrate_gcc_dependents_if_needed
because ofbrew/Library/Homebrew/cmd/update-report.rb
Line 296 in c477b9a