aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2011-11-20 20:09:33 -0600
committerAdam Vandenberg2011-11-21 20:04:33 -0800
commit284ecf96dba232f2f626dd2a6b0e48af4f575e0c (patch)
treea89ac6ff756ac511fe0775f171d79511677b5ef6 /Library/Homebrew
parentf85bc69165348a05146ea484ddbc1a45018ab12e (diff)
downloadhomebrew-284ecf96dba232f2f626dd2a6b0e48af4f575e0c.tar.bz2
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>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ARGV.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 3efd18f73..e46c0b038 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -66,6 +66,10 @@ module HomebrewArgvExtension
flag? '--HEAD'
end
+ def build_devel?
+ include? '--devel'
+ end
+
def build_universal?
include? '--universal'
end