Skip to content
Snippets Groups Projects
Commit 7266ecd4 authored by Jack Nagel's avatar Jack Nagel
Browse files

Hide install receipt key names

parent b05351d0
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,7 @@ module Homebrew
fi = FormulaInstaller.new(f)
fi.options = options
fi.build_bottle = ARGV.build_bottle?
fi.build_bottle ||= tab.built_as_bottle && !tab.poured_from_bottle
fi.build_bottle = ARGV.build_bottle? || tab.build_bottle?
fi.build_from_source = ARGV.build_from_source?
fi.force_bottle = ARGV.force_bottle?
fi.verbose = ARGV.verbose?
......
......@@ -53,8 +53,7 @@ module Homebrew
fi = FormulaInstaller.new(f)
fi.options = tab.used_options
fi.build_bottle = ARGV.build_bottle?
fi.build_bottle ||= tab.built_as_bottle && !tab.poured_from_bottle
fi.build_bottle = ARGV.build_bottle? || tab.build_bottle?
fi.build_from_source = ARGV.build_from_source?
fi.verbose = ARGV.verbose?
fi.verbose &&= :quieter if ARGV.quieter?
......
......@@ -121,6 +121,10 @@ class Tab < OpenStruct
CxxStdlib.create(lib, cc.to_sym)
end
def build_bottle?
built_as_bottle && !poured_from_bottle
end
def to_json
Utils::JSON.dump({
:used_options => used_options.as_flags,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment