Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
cfr-decompiler 0.102
Browse files Browse the repository at this point in the history
Closes #42677.
  • Loading branch information
dunn committed Aug 9, 2015
1 parent f7183ad commit 8db52dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Library/Formula/cfr-decompiler.rb
@@ -1,13 +1,13 @@
class CfrDecompiler < Formula
desc "Yet Another Java Decompiler."
homepage "http://www.benf.org/other/cfr/"
url "http://www.benf.org/other/cfr/cfr_0_101.jar"
sha256 "90e166325ca4443a65663a75876c639cace9a29558713878c6a2b6eb211f947f"
url "http://www.benf.org/other/cfr/cfr_0_102.jar"
sha256 "b8bf5b3071b7754fb0117f321b600f0d7f548cd6fe25319dd993d4d9845d4578"

depends_on :java => "1.6+"

def install
jar_version = version.to_s.gsub(".", "_")
jar_version = version.to_s.tr(".", "_")
libexec.install "cfr_#{jar_version}.jar"
bin.write_jar_script libexec/"cfr_#{jar_version}.jar", "cfr-decompiler"
end
Expand All @@ -28,6 +28,6 @@ class T {
(testpath/"T.java").write fixture
system "javac", "T.java"
output = pipe_output("#{bin}/cfr-decompiler T.class")
assert output.include?(fixture), "Different output than expected"
assert_match fixture, output
end
end

0 comments on commit 8db52dd

Please sign in to comment.