From 901f9166f964a9514932d2cbf76c587a243e08e7 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Wed, 26 Mar 2025 21:12:00 +0300 Subject: [PATCH] create: show command to install formula for testing --- Library/Homebrew/dev-cmd/create.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/create.rb b/Library/Homebrew/dev-cmd/create.rb index 830d995c8f..648f6ea72b 100644 --- a/Library/Homebrew/dev-cmd/create.rb +++ b/Library/Homebrew/dev-cmd/create.rb @@ -230,8 +230,9 @@ 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} EOS path end