Skip to content
Snippets Groups Projects
Commit 8608d1ea authored by William Woodruff's avatar William Woodruff Committed by GitHub
Browse files

Merge pull request #1828 from woodruffw/audit-cctools

audit: Check for invocations of cctools.
parents b757c927 82c046b3
No related branches found
No related tags found
No related merge requests found
......@@ -1185,6 +1185,10 @@ class FormulaAuditor
problem "'fails_with :llvm' is now a no-op so should be removed"
end
if line =~ /system\s+['"](otool)|(install_name_tool)|(lipo)/
problem "Use ruby-macho instead of calling #{$1}"
end
if formula.tap.to_s == "homebrew/core"
["OS.mac?", "OS.linux?"].each do |check|
next unless line.include?(check)
......
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