aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNicholas Hutchinson2012-09-16 14:17:30 +1200
committerAdam Vandenberg2012-09-16 08:47:43 -0700
commitf047aec093248cf8850a52456455a0b0858dda27 (patch)
treeb95e5f78d2a8edcfdbfcc4def82ab1dca1bd3d5c /Library/Formula
parentf012efdaf47efa3ee3883d5300e692acb29d56ea (diff)
downloadhomebrew-f047aec093248cf8850a52456455a0b0858dda27.tar.bz2
cppcheck 1.56
Closes #14960. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cppcheck.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/cppcheck.rb b/Library/Formula/cppcheck.rb
index c8ae10d26..b6e8bc2a1 100644
--- a/Library/Formula/cppcheck.rb
+++ b/Library/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}