create: show command to install formula for testing

This commit is contained in:
Anatoli Babenia 2025-03-26 21:12:00 +03:00
parent e532dea382
commit 901f9166f9

View File

@ -230,8 +230,9 @@ module Homebrew
PyPI.update_python_resources! formula, ignore_non_pypi_packages: true if args.python? PyPI.update_python_resources! formula, ignore_non_pypi_packages: true if args.python?
puts <<~EOS 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 audit --new #{fc.name}
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --debug #{fc.name}
EOS EOS
path path
end end