diff options
| author | Mike McQuaid | 2013-07-04 11:23:09 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-07-18 09:56:55 -0700 |
| commit | d6a6caefb3df29ba9fc4ec900f6ec6237a7f375a (patch) | |
| tree | a85186775e6c1583da3a8b7e0f056589c7831255 /Library/Homebrew/cmd/audit.rb | |
| parent | c83c386bf99d5643c2f9212dd93cc558b4d9f764 (diff) | |
| download | homebrew-d6a6caefb3df29ba9fc4ec900f6ec6237a7f375a.tar.bz2 | |
Warn more about failing bottle version detection.
This is needed for local bottle installation and also possible when
detecting bottle versions from URLs.
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 46197298b..e0d2a8d00 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -281,6 +281,9 @@ class FormulaAuditor if version_url.to_s == version_text.to_s && s.version.instance_of?(Version) problem "#{spec} version #{version_text} is redundant with version scanned from URL" end + if bottle_filename_formula_name(bottle_filename(f)).empty? + problem "Add a new version regex to version.rb to parse the bottle filename." + end end if s.version.to_s =~ /^v/ |
