diff options
| author | Mike McQuaid | 2013-10-08 10:12:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-08 10:13:03 +0100 |
| commit | aa76e070115707d467755711ab2e1b1a5cf43377 (patch) | |
| tree | ef1cade8348e4a0cef21fc72978e53d905139ae7 /Library | |
| parent | 1400e08094f0877ad4d079dbc7bfe88acd58bdcc (diff) | |
| download | homebrew-aa76e070115707d467755711ab2e1b1a5cf43377.tar.bz2 | |
BuildOptions: detect if building a bottle.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/build_options.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 3bd78c864..ff2e099fc 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -73,6 +73,10 @@ class BuildOptions not with? name end + def bottle? + args.include? '--build-bottle' + end + def head? args.include? '--HEAD' end |
