From a5f0f9142103f03bc714f621aa13beb5a0532776 Mon Sep 17 00:00:00 2001 From: Nicholas Hutchinson Date: Sun, 16 Sep 2012 14:17:30 +1200 Subject: [PATCH] cppcheck 1.56 Closes Homebrew/homebrew#14960. Signed-off-by: Adam Vandenberg --- Formula/cppcheck.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Formula/cppcheck.rb b/Formula/cppcheck.rb index c8ae10d2663..b6e8bc2a1d3 100644 --- a/Formula/cppcheck.rb +++ b/Formula/cppcheck.rb @@ -2,8 +2,8 @@ require 'formula' class Cppcheck < Formula homepage 'http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page' - url 'https://github.com/danmar/cppcheck/tarball/1.55' - sha1 '5a888427b9303420a1a583a2cb3919fb5ba3c5ce' + url 'https://github.com/danmar/cppcheck/tarball/1.56' + sha1 '195e8c819bff51bf2242133851052105a0619bf0' head 'https://github.com/danmar/cppcheck.git' @@ -39,6 +39,10 @@ class Cppcheck < Formula end end + def test + system "#{bin}/cppcheck", "--version" + end + def caveats; <<-EOS.undent --with-gui installs cppcheck-gui.app in: #{bin}