diff options
| author | Gautham Goli | 2017-07-29 16:36:32 +0530 | 
|---|---|---|
| committer | Gautham Goli | 2017-07-29 16:36:32 +0530 | 
| commit | e1cb0b43d7e3095de97b63c4776f9709120b7fad (patch) | |
| tree | 61881aa40822d6b69b2da43fd5bc8921438a553b /Library/Homebrew/dev-cmd/audit.rb | |
| parent | a49d99a2d6a22f9db1540cb546ac2d7be2fb5703 (diff) | |
| download | brew-e1cb0b43d7e3095de97b63c4776f9709120b7fad.tar.bz2 | |
audit: Port dependency rules from line_problems to rubocop and add tests
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 10 | 
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index b15d719d2..bdb2b4a37 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -909,16 +909,6 @@ class FormulaAuditor        problem "\"#{Regexp.last_match(1)}\" should be \"\#{#{Regexp.last_match(2)}}\""      end -    if line =~ /depends_on :(automake|autoconf|libtool)/ -      problem ":#{Regexp.last_match(1)} is deprecated. Usage should be \"#{Regexp.last_match(1)}\"" -    end - -    if line =~ /depends_on :apr/ -      problem ":apr is deprecated. Usage should be \"apr-util\"" -    end - -    problem ":tex is deprecated" if line =~ /depends_on :tex/ -      if line =~ /depends_on\s+['"](.+)['"]\s+=>\s+:(lua|perl|python|ruby)(\d*)/        problem "#{Regexp.last_match(2)} modules should be vendored rather than use deprecated `depends_on \"#{Regexp.last_match(1)}\" => :#{Regexp.last_match(2)}#{Regexp.last_match(3)}`"      end  | 
