From b578a47bb9fda8043d7bcff730dc5bf951df41c7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 15 Mar 2013 00:28:18 +0000 Subject: brew-info: specify whether poured or built. - Store in the tab if a bottle was poured for the build. - Add an additional line of output to `brew info` outputting whether the formula was built from source or poured from a bottle. Closes Homebrew/homebrew#18430. Closes Homebrew/homebrew#18475. --- Library/Homebrew/formula.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Homebrew/formula.rb') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 490b517a6..54da64fea 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -503,7 +503,8 @@ class Formula hsh["installed"] << { "version" => keg.basename.to_s, "used_options" => tab.used_options.map(&:flag), - "built_as_bottle" => tab.built_bottle + "built_as_bottle" => tab.built_bottle, + "poured_from_bottle" => tab.poured_from_bottle } end end -- cgit v1.2.3