Merge pull request #19615 from abitrolly/create-show-install

create: show command to install formula for testing
This commit is contained in:
Patrick Linnane 2025-03-26 18:51:30 +00:00 committed by GitHub
commit e659a0db1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,8 +230,10 @@ module Homebrew
PyPI.update_python_resources! formula, ignore_non_pypi_packages: true if args.python?
puts <<~EOS
Please run the following command before submitting:
Please audit and test formula before submitting:
HOMEBREW_NO_INSTALL_FROM_API=1 brew audit --new #{fc.name}
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --debug #{fc.name}
HOMEBREW_NO_INSTALL_FROM_API=1 brew test #{fc.name}
EOS
path
end