snownews: add test

This commit is contained in:
mikit 2018-03-19 06:33:03 +09:00 committed by ilovezfs
parent d4be10d881
commit af80634a9e

View file

@ -33,6 +33,10 @@ class Snownews < Formula
# it, which doesn't work on OS X prior to 10.11
system "make", "install", "EXTRA_LDFLAGS=#{ENV.ldflags} -L#{Formula["openssl"].opt_lib} -lz", "CC=#{ENV.cc}"
end
test do
system "#{bin}/snownews", "--version"
end
end
__END__