diff options
| author | Mike McQuaid | 2017-08-01 11:29:26 +0100 |
|---|---|---|
| committer | GitHub | 2017-08-01 11:29:26 +0100 |
| commit | c3c3575b7055e633d6f7930c2ab0e7e7d9b9b82f (patch) | |
| tree | 65e38afd5476d1bab6d9f703053d613985e7ed62 /Library/Homebrew/dev-cmd | |
| parent | 4788e0a98e2c36ecea9ae3ae4efba99b60fa3a63 (diff) | |
| parent | e1cb0b43d7e3095de97b63c4776f9709120b7fad (diff) | |
| download | brew-c3c3575b7055e633d6f7930c2ab0e7e7d9b9b82f.tar.bz2 | |
Merge pull request #2964 from GauthamGoli/audit_line_rubocop_part_1
audit: Port dependency rules from line_problems to rubocop and add tests
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -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 b6f9e5106..e0ffa6117 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 |
