diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 9ceeab3947..6be4a18b5c 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}. #
args << "--some-new-stuff" if build.head?