-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
r*: Fix Homebrew/NoFileutilsRmrf
RuboCop offenses
#179161
Conversation
let's maybe wait for #178436 to be merged first. |
a42931a
to
b73cb66
Compare
rebased per rust PR merge |
#{rubygems_bindir}/bundle | ||
#{rubygems_bindir}/bundler | ||
] | ||
rm_rf Dir[HOMEBREW_PREFIX/"lib/ruby/gems/#{api_version}/gems/bundler-*"] |
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 brew install ruby
now fails for me in this postinstall step if these files don't exist in rubygems_bindir
. I think the -f
to rm
was allowing the operation to succeed even if the files don't exist, and now they can fail
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.
fix in #179332
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?There's Rust in this batch. 🦀 😬