rolldice 1.15

Closes Homebrew/homebrew#45126.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Matthew Robinson 2015-10-19 13:45:26 +08:00 committed by Mike McQuaid
parent 86300a8573
commit a1035dbfd0

View file

@ -1,8 +1,8 @@
class Rolldice < Formula
desc "Rolls an amount of virtual dice"
homepage "https://github.com/sstrickl/rolldice"
url "https://github.com/sstrickl/rolldice/archive/v1.14.tar.gz"
sha256 "57b77e9d2f8d04c7d81fa01433a73f1f86b4b21771f959acc3bb5d99347030eb"
url "https://github.com/sstrickl/rolldice/archive/1.15.tar.gz"
sha256 "3abeec2b5b80ff57b05a3b2c1d49dade443005f1718f353873f54c0053610764"
def install
system "make", "CC=#{ENV.cc}"
@ -12,7 +12,7 @@ class Rolldice < Formula
test do
output = `#{bin}/rolldice -s 1x2d6`
assert output.include?("Roll #1")
assert_equal true, output.include?("Roll #1")
assert_equal 0, $?.exitstatus
end
end