diff options
| author | Adam Vandenberg | 2014-02-25 07:36:47 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-25 20:29:08 -0800 |
| commit | 6f40ec7abc6c44b4f52e660c36d8c8aed8e39532 (patch) | |
| tree | e5c2fb9b73f08dabff99cc2627fbcf2d05a3582e /Library | |
| parent | 44a95135e30f3700c3ae64a5de96520b2d7d1514 (diff) | |
| download | homebrew-6f40ec7abc6c44b4f52e660c36d8c8aed8e39532.tar.bz2 | |
add audit for scons
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 71445ca4d..3f2a31774 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -292,6 +292,10 @@ class FormulaAuditor end def audit_text + if text =~ /system\s+['"]scons/ + problem "use \"scons, *args\" instead of \"system 'scons', *args\"" + end + if text =~ /system\s+['"]xcodebuild/ && text !~ /SYMROOT=/ problem "xcodebuild should be passed an explicit \"SYMROOT\"" end |
