diff options
| author | Adam Vandenberg | 2011-02-20 15:03:15 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-02-20 15:03:17 -0800 |
| commit | aa14eaaf1c816bcc8a4e6280df0130128a03f000 (patch) | |
| tree | f74307cababd35ec05d2760e5f5296f44b10e296 /Library | |
| parent | 2fb68be78d8ff4214e4bdb835bc1763e347af60d (diff) | |
| download | brew-aa14eaaf1c816bcc8a4e6280df0130128a03f000.tar.bz2 | |
brew-audit - check formula versions
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-audit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb index cf9b1c0a2..01ece830d 100755 --- a/Library/Contributions/examples/brew-audit.rb +++ b/Library/Contributions/examples/brew-audit.rb @@ -224,6 +224,8 @@ def audit_some_formulae problems << " * 'DATA' was found, but no '__END__'" end + problems += [' * invalid or missing version'] if f.version.to_s.empty? + # Don't try remaining audits on text in __END__ text_without_patch = (text.split("__END__")[0]).strip() |
