BuildOptions: detect if building a bottle.

This commit is contained in:
Mike McQuaid 2013-10-08 10:12:44 +01:00
parent fe31e8ddb4
commit 8ec2d4594e

View File

@ -73,6 +73,10 @@ class BuildOptions
not with? name
end
def bottle?
args.include? '--build-bottle'
end
def head?
args.include? '--HEAD'
end