aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/missing.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-23 00:26:28 -0600
committerJack Nagel2013-01-26 12:14:47 -0600
commit775184240d039973f3cd0751eb648d8840f70276 (patch)
treeca30d0b1e06f8e872e0d40f70a45ac70185ee9ec /Library/Homebrew/cmd/missing.rb
parent7a8935455b43273291b37d2e2f62757bb8fa705e (diff)
downloadhomebrew-775184240d039973f3cd0751eb648d8840f70276.tar.bz2
FormulaInstaller: construct new ARGV from an Options collection
The array of options that is passed to the spawned build process is a combination of the current ARGV, options passed in by a dependent formula, and an existing install receipt. The objects that are interacting here each expect the resulting collection to have certain properties, and the expectations are not consistent. Clear up this confusing mess by only dealing with Options collections. This keeps our representation of options uniform across the codebase. We can remove BuildOptions dependency on HomebrewArgvExtension, which allows us to pass any Array-like collection to Tab.create. The only other site inside of FormulaInstaller that uses the array is the #exec call, and there it is splatted and thus we can substitute our Options collection there as well.
Diffstat (limited to 'Library/Homebrew/cmd/missing.rb')
0 files changed, 0 insertions, 0 deletions