aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pngcrush.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/pngcrush.rb b/Library/Formula/pngcrush.rb
index 6e2ec3f39..e238e7382 100644
--- a/Library/Formula/pngcrush.rb
+++ b/Library/Formula/pngcrush.rb
@@ -4,8 +4,8 @@ require "formula"
# tarballs are routinely removed and upstream won't change this practice.
class Pngcrush < Formula
homepage "http://pmt.sourceforge.net/pngcrush/"
- url "https://downloads.sourceforge.net/project/pmt/pngcrush/1.7.77/pngcrush-1.7.77.tar.gz"
- sha1 "70e15781220a0095453d04b040c6f42d77487d7b"
+ url "https://downloads.sourceforge.net/project/pmt/pngcrush/1.7.78/pngcrush-1.7.78.tar.gz"
+ sha1 "9506a4106ecf1f960e8fe2c2a7e34131c234e070"
bottle do
cellar :any
@@ -26,4 +26,8 @@ class Pngcrush < Formula
"LDFLAGS=#{ENV.ldflags}"
bin.install "pngcrush"
end
+
+ test do
+ system "#{bin}/pngcrush", test_fixtures("test.png"), "/dev/null"
+ end
end