add BuildOptions#build_bottle?
This makes BuildOptions more compatible with Tab object. Otherwise, `brew reinstall foo` will just crash if foo is not installed.
This commit is contained in:
parent
8b9ce59ce4
commit
2b9a2833bc
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user