Skip to content
Snippets Groups Projects
Unverified Commit 2b9a2833 authored by Xu Cheng's avatar Xu Cheng
Browse files

add BuildOptions#build_bottle?

This makes BuildOptions more compatible with Tab object. Otherwise,
`brew reinstall foo` will just crash if foo is not installed.
parent 8b9ce59c
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment