Skip to content
Snippets Groups Projects
Commit f204e2e6 authored by Xu Cheng's avatar Xu Cheng Committed by Mike McQuaid
Browse files

audit: more information on build deps audit


Closes Homebrew/homebrew#36892.

Signed-off-by: default avatarMike McQuaid <mike@mikemcquaid.com>
parent a4f675a0
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,12 @@ class FormulaAuditor
case dep.name
when *BUILD_TIME_DEPS
next if dep.build? or dep.run?
problem %{#{dep} dependency should be "depends_on '#{dep}' => :build"}
problem <<-EOS.undent
#{dep} dependency should be
depends_on "#{dep}" => :build
Or if it is indeed a runtime denpendency
depends_on "#{dep}" => :run
EOS
when "git", "ruby", "mercurial"
problem "Don't use #{dep} as a dependency. We allow non-Homebrew #{dep} installations."
when 'gfortran'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment