diff options
| author | Mike McQuaid | 2017-03-19 20:46:31 +0200 | 
|---|---|---|
| committer | Mike McQuaid | 2017-03-19 20:46:31 +0200 | 
| commit | 8efc0a608d6fa0b90c8295c8237e0fc843e30d02 (patch) | |
| tree | 774e79c62192934d3033182f298e7a9ac9b06280 /Library/Homebrew/dev-cmd/audit.rb | |
| parent | 76955b47bd2ae3eba1b041430d7e1aeab246de0d (diff) | |
| download | brew-8efc0a608d6fa0b90c8295c8237e0fc843e30d02.tar.bz2 | |
audit: deprecate depends_on :tex.
This has known issues with our `ghostscript` formula, we can't test it
on CI and is a ludicrously heavy dependency that in many cases can be
avoided by upstream providing prebuilt documentation.
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
| -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 677a52447..7cad2f0d3 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1036,6 +1036,10 @@ class FormulaAuditor        problem ":apr is deprecated. Usage should be \"apr-util\""      end +    if line =~ /depends_on :tex/ +      problem ":tex is deprecated." +    end +      # Commented-out depends_on      problem "Commented-out dep #{$1}" if line =~ /#\s*depends_on\s+(.+)\s*$/  | 
