Define and use ARGV.build_devel?

Often it is useful to provide a development build in addition to the
stable release or HEAD download.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jack Nagel 2011-11-20 20:09:33 -06:00 committed by Adam Vandenberg
parent 39b3ed3c33
commit b62bd90a1d

View File

@ -66,6 +66,10 @@ module HomebrewArgvExtension
flag? '--HEAD'
end
def build_devel?
include? '--devel'
end
def build_universal?
include? '--universal'
end