cfr-decompiler 0.139

Closes #37312.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Caleb Xu 2019-02-25 12:06:40 -05:00 committed by FX Coudert
parent 27c58b3340
commit 1d04737642

View file

@ -1,17 +1,16 @@
class CfrDecompiler < Formula
desc "Yet Another Java Decompiler"
homepage "https://www.benf.org/other/cfr/"
url "https://www.benf.org/other/cfr/cfr_0_132.jar"
sha256 "e10b1667835cf5b73f09cf37eb122192ce29583c29f5c3a4e134a43e7669f5ba"
url "https://www.benf.org/other/cfr/cfr-0.139.jar"
sha256 "d30e830b761638d86908c9b622d9ec1105ffb33e8cd40cf1496662086a782a72"
bottle :unneeded
depends_on :java => "1.6+"
def install
jar_version = version.to_s.tr(".", "_")
libexec.install "cfr_#{jar_version}.jar"
bin.write_jar_script libexec/"cfr_#{jar_version}.jar", "cfr-decompiler"
libexec.install "cfr-#{version}.jar"
bin.write_jar_script libexec/"cfr-#{version}.jar", "cfr-decompiler"
end
test do