homebrew-core/Formula/stlviewer.rb
Baptiste Fontaine 15a577a1bb stlviewer: use sha256
Closes Homebrew/homebrew#39693.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-13 14:21:36 +08:00

14 lines
372 B
Ruby

class Stlviewer < Formula
homepage "https://github.com/vishpat/stlviewer#readme"
url "https://github.com/vishpat/stlviewer/archive/release-0.1.tar.gz"
sha256 "55c1969537a7c663273d0d3ab242f0bf61b93d83a7a5ea0786436a2041ecdb8b"
def install
system "./compile.py"
bin.install "stlviewer"
end
test do
shell_output("#{bin}/stlviewer 2>&1", 1)
end
end