diff options
| author | Mike McQuaid | 2016-12-13 02:10:11 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-12-13 02:10:11 +0000 |
| commit | cf1fa0c5bc5bf80d21921e5187581de1a7baa08b (patch) | |
| tree | f9a8d5f84009d4e75f8d875ae4f8770f50f2dc56 /Library/Homebrew/dev-cmd | |
| parent | 666463ca2be08261cf103e4870b267f5b461a7f3 (diff) | |
| download | brew-cf1fa0c5bc5bf80d21921e5187581de1a7baa08b.tar.bz2 | |
audit: flag use of "fails_with :llvm".
Also, add TODOs for deprecating this properly at a later point.
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 ee03c01ac..0112c524f 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1000,6 +1000,10 @@ class FormulaAuditor problem "Use Language::Node for npm install args" end + if line.include?("fails_with :llvm") + problem "'fails_with :llvm' is now a no-op so should be removed" + end + return unless @strict if line =~ /system ((["'])[^"' ]*(?:\s[^"' ]*)+\2)/ |
