stlviewer: use sha256
Closes Homebrew/homebrew#39693. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
e7e6b7bb79
commit
15a577a1bb
1 changed files with 9 additions and 7 deletions
|
@ -1,12 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class Stlviewer < Formula
|
||||
homepage 'https://github.com/vishpat/stlviewer#readme'
|
||||
url 'https://github.com/vishpat/stlviewer/archive/release-0.1.tar.gz'
|
||||
sha1 '2ceeee6e36de4b9e95002940d893819fb9e09120'
|
||||
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'
|
||||
system "./compile.py"
|
||||
bin.install "stlviewer"
|
||||
end
|
||||
|
||||
test do
|
||||
shell_output("#{bin}/stlviewer 2>&1", 1)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue