aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-12-07 21:57:50 +0000
committerGitHub2016-12-07 21:57:50 +0000
commit0198bca56741ba8889748c22df32570575f0e184 (patch)
tree2fbe1ffdd8aae5c327359fec40268cd95460dc4d /Library
parent11cf7b97c419312d72945a174e1a57d51f1a1787 (diff)
parent5cf97e5603456a6d9dc407b5e3bf7ba31c69b6d6 (diff)
downloadbrew-0198bca56741ba8889748c22df32570575f0e184.tar.bz2
Merge pull request #1614 from alyssais/tab_homebrew_version
tab: include HOMEBREW_VERSION
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/tab.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 28f29aaad..d355e838d 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -20,6 +20,7 @@ class Tab < OpenStruct
def self.create(formula, compiler, stdlib)
build = formula.build
attributes = {
+ "homebrew_version" => HOMEBREW_VERSION,
"used_options" => build.used_options.as_flags,
"unused_options" => build.unused_options.as_flags,
"tabfile" => formula.prefix.join(FILENAME),
@@ -299,6 +300,7 @@ class Tab < OpenStruct
def to_json
attributes = {
+ "homebrew_version" => homebrew_version,
"used_options" => used_options.as_flags,
"unused_options" => unused_options.as_flags,
"built_as_bottle" => built_as_bottle,