From 93cfc27660347547d5aee84b8418346d552ae064 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Wed, 23 Dec 2020 10:57:10 +0100 Subject: [PATCH] unbottled: improve output --- Library/Homebrew/dev-cmd/unbottled.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/unbottled.rb b/Library/Homebrew/dev-cmd/unbottled.rb index 777ff7536d..2c440808b9 100644 --- a/Library/Homebrew/dev-cmd/unbottled.rb +++ b/Library/Homebrew/dev-cmd/unbottled.rb @@ -156,7 +156,14 @@ module Homebrew deps = Array(deps_hash[f.name]).reject do |dep| dep.bottle_specification.tag?(@bottle_tag) || dep.bottle_unneeded? end - next if deps.blank? + + if deps.blank? + next if f.bottle_unneeded? + + count = " (#{hash[f.name]} #{noun})" if noun + puts "#{f.name}#{count}: ready to bottle" + next + end any_found ||= true count = " (#{hash[f.name]} #{noun})" if noun