mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
BuildOptions: detect if building a bottle.
This commit is contained in:
parent
fe31e8ddb4
commit
8ec2d4594e
@ -73,6 +73,10 @@ class BuildOptions
|
||||
not with? name
|
||||
end
|
||||
|
||||
def bottle?
|
||||
args.include? '--build-bottle'
|
||||
end
|
||||
|
||||
def head?
|
||||
args.include? '--HEAD'
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user