aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-01-09 21:06:38 +0000
committerMike McQuaid2017-01-18 11:23:21 +0000
commit44f1c9752a1f55f09475cab79ab85fdaf39cef84 (patch)
tree5c18952cae3c89cbe0ec9ce7061865f787b2e224 /Library
parentb99fb562753b45e7efec13366b32ddd2f58194f9 (diff)
downloadbrew-44f1c9752a1f55f09475cab79ab85fdaf39cef84.tar.bz2
formula: installed_{as_dependency,on_request} hash
Which, in turn, provides them for `brew info --json=v1` so other tools such as e.g. `brew bundle` can make use of this information.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 77688840c..6df1eb4de 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -1629,6 +1629,8 @@ class Formula
"built_as_bottle" => tab.built_as_bottle,
"poured_from_bottle" => tab.poured_from_bottle,
"runtime_dependencies" => tab.runtime_dependencies,
+ "installed_as_dependency" => tab.installed_as_dependency,
+ "installed_on_request" => tab.installed_on_request,
}
end