diff options
| author | Mike McQuaid | 2017-01-09 21:06:38 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-01-18 11:23:21 +0000 |
| commit | 44f1c9752a1f55f09475cab79ab85fdaf39cef84 (patch) | |
| tree | 5c18952cae3c89cbe0ec9ce7061865f787b2e224 /Library/Homebrew | |
| parent | b99fb562753b45e7efec13366b32ddd2f58194f9 (diff) | |
| download | brew-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/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
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 |
