diff options
| author | Jack Nagel | 2014-03-08 22:28:50 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-03-08 22:28:50 -0600 |
| commit | 1302174bc26c0c9e8fea92b3c056f839ab3be6dc (patch) | |
| tree | ec733f2aea0f60115d58b3d6637e1ef63fb6983a /Library | |
| parent | 8cdf4d8ebf439eb9a9ffcaa0e455ced9459e1e41 (diff) | |
| download | homebrew-1302174bc26c0c9e8fea92b3c056f839ab3be6dc.tar.bz2 | |
Add stubs for build_from_source and build_bottle installer modes
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index e93263c08..33fbf84f2 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -18,12 +18,15 @@ class FormulaInstaller attr_reader :f attr_accessor :options, :ignore_deps, :only_deps attr_accessor :show_summary_heading, :show_header + attr_accessor :build_from_source, :build_bottle def initialize ff @f = ff @show_header = false @ignore_deps = false @only_deps = false + @build_from_source = false + @build_bottle = false @options = Options.new @@attempted ||= Set.new @@ -34,6 +37,7 @@ class FormulaInstaller def pour_bottle? install_bottle_options={:warn=>false} return false if @pour_failed + return false if build_from_source || build_bottle options.empty? && install_bottle?(f, install_bottle_options) end |
