aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/build_options.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb
index 3bd78c864..ff2e099fc 100644
--- a/Library/Homebrew/build_options.rb
+++ b/Library/Homebrew/build_options.rb
@@ -73,6 +73,10 @@ class BuildOptions
not with? name
end
+ def bottle?
+ args.include? '--build-bottle'
+ end
+
def head?
args.include? '--HEAD'
end