aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gifsicle.rb8
-rw-r--r--Library/Homebrew/test/fixtures/test.gifbin0 -> 43 bytes
2 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/gifsicle.rb b/Library/Formula/gifsicle.rb
index d669d1197..2a9117c37 100644
--- a/Library/Formula/gifsicle.rb
+++ b/Library/Formula/gifsicle.rb
@@ -2,8 +2,8 @@ require "formula"
class Gifsicle < Formula
homepage "http://www.lcdf.org/gifsicle/"
- url "http://www.lcdf.org/gifsicle/gifsicle-1.84.tar.gz"
- sha1 "131a3e53a1d49318b54f9c6f81a62726384e95d7"
+ url "http://www.lcdf.org/gifsicle/gifsicle-1.86.tar.gz"
+ sha1 "517e68b781594851750d7d807e25bd18b1f5dbc4"
option "with-x11", "Install gifview"
@@ -20,4 +20,8 @@ class Gifsicle < Formula
system "./configure", *args
system "make install"
end
+
+ test do
+ system "#{bin}/gifsicle", "--info", test_fixtures("test.gif")
+ end
end
diff --git a/Library/Homebrew/test/fixtures/test.gif b/Library/Homebrew/test/fixtures/test.gif
new file mode 100644
index 000000000..0589d2082
--- /dev/null
+++ b/Library/Homebrew/test/fixtures/test.gif
Binary files differ