diff options
| author | Jack Nagel | 2011-11-20 20:09:33 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2011-11-21 20:04:33 -0800 |
| commit | b62bd90a1d26d456ec66b31f2170362844c8808d (patch) | |
| tree | 4d0b3948954813659103cda3895a1d0788228504 /Library | |
| parent | 39b3ed3c33a46c53f5836bc9c06479877cf10f6a (diff) | |
| download | brew-b62bd90a1d26d456ec66b31f2170362844c8808d.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')
| -rw-r--r-- | Library/Homebrew/extend/ARGV.rb | 4 |
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 |
