diff options
| author | Mike McQuaid | 2017-01-17 10:08:44 +0000 |
|---|---|---|
| committer | GitHub | 2017-01-17 10:08:44 +0000 |
| commit | aa104137e59c75258313b5671af20e24950119a7 (patch) | |
| tree | b85a8e9ca1bf6ea0fcafa4dc9a48b0e94c75a752 /Library/Homebrew/dev-cmd | |
| parent | 052d6077dd5559041fd06e73e83989f54b89e8eb (diff) | |
| parent | f4496e85e515180f96e0863af3047bf3f4a94e81 (diff) | |
| download | brew-aa104137e59c75258313b5671af20e24950119a7.tar.bz2 | |
Merge pull request #1844 from MikeMcQuaid/audit-universal
audit: don't allow universal for new formulae.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 88d9a535c..394e0e763 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -481,6 +481,10 @@ class FormulaAuditor next unless @strict + if o.name == "universal" + problem "macOS has been 64-bit only since 10.6 so universal options are deprecated." + end + if o.name !~ /with(out)?-/ && o.name != "c++11" && o.name != "universal" problem "Options should begin with with/without. Migrate '--#{o.name}' with `deprecated_option`." end |
