diff options
| author | Mike McQuaid | 2013-10-08 10:12:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-08 10:13:03 +0100 |
| commit | 8ec2d4594e2a49f04c7f6b64144f360da0ac57fd (patch) | |
| tree | 2ce256eec29bb74d5de834d219d7395bee2eef2c | |
| parent | fe31e8ddb4803c3e549af936b7f7b30b754660db (diff) | |
| download | brew-8ec2d4594e2a49f04c7f6b64144f360da0ac57fd.tar.bz2 | |
BuildOptions: detect if building a bottle.
| -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 |
