diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 9ceeab3947a55c771efd730f8c31fe973f79f1e7..6be4a18b5cf7b6756777a008da39d11a309065a3 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -47,6 +47,7 @@ class BuildOptions def bottle? include? "build-bottle" end + alias_method :build_bottle?, :bottle? # True if a {Formula} is being built with {Formula.head} instead of {Formula.stable}. # <pre>args << "--some-new-stuff" if build.head?</pre>