From 60e24482135a14c378b35f6e25ede7dd610feb48 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Wed, 26 Oct 2022 22:58:15 +0800 Subject: [PATCH 01/11] fix illegal char --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 05324c7..8abc66c 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -7,7 +7,7 @@ class Classpy < Formula bottle :unneeded - depends_on :openjdk@8 + depends_on "openjdk@8" def install prefix.install "classpy-#{version}.jar" From 7df36d55dd5538f8921a0a4eb60b63e2fa7e78bf Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Fri, 28 Oct 2022 19:43:00 +0800 Subject: [PATCH 02/11] rm dependency --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 8abc66c..853ccc5 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -7,7 +7,7 @@ class Classpy < Formula bottle :unneeded - depends_on "openjdk@8" + # depends_on "openjdk@8" def install prefix.install "classpy-#{version}.jar" From 1ad696434a89a360db7e231f0deeb03a6c802834 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Fri, 28 Oct 2022 19:45:28 +0800 Subject: [PATCH 03/11] rm dependency --- Formula/classpy.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 853ccc5..53dbab9 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -7,7 +7,6 @@ class Classpy < Formula bottle :unneeded - # depends_on "openjdk@8" def install prefix.install "classpy-#{version}.jar" From 51cbaf299859a8f0aca4824b0c1b925c6ca9090f Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Fri, 28 Oct 2022 21:22:25 +0800 Subject: [PATCH 04/11] fix illegal char --- Formula/classpy.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 53dbab9..8abc66c 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -7,6 +7,7 @@ class Classpy < Formula bottle :unneeded + depends_on "openjdk@8" def install prefix.install "classpy-#{version}.jar" From 89b31a2942883b75c1871df68458e48db53403d9 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 10:44:35 +0800 Subject: [PATCH 05/11] fix illegal char --- Formula/classpy.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 8abc66c..d2b2b04 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -9,12 +9,12 @@ class Classpy < Formula depends_on "openjdk@8" - def install - prefix.install "classpy-#{version}.jar" + # def install + # prefix.install "classpy-#{version}.jar" - (bin/"classpy").write <<~EOS - #!/usr/bin/env bash - exec java -jar #{prefix}/classpy-#{version}.jar "$@" - EOS - end + # (bin/"classpy").write <<~EOS + # #!/usr/bin/env bash + # exec java -jar #{prefix}/classpy-#{version}.jar "$@" + # EOS + # end end From b3780784cf3bba5e7123152cafa133f18629dd85 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 10:56:28 +0800 Subject: [PATCH 06/11] fix illegal char --- Formula/classpy.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index d2b2b04..853ccc5 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -7,14 +7,14 @@ class Classpy < Formula bottle :unneeded - depends_on "openjdk@8" + # depends_on "openjdk@8" - # def install - # prefix.install "classpy-#{version}.jar" + def install + prefix.install "classpy-#{version}.jar" - # (bin/"classpy").write <<~EOS - # #!/usr/bin/env bash - # exec java -jar #{prefix}/classpy-#{version}.jar "$@" - # EOS - # end + (bin/"classpy").write <<~EOS + #!/usr/bin/env bash + exec java -jar #{prefix}/classpy-#{version}.jar "$@" + EOS + end end From f1feed2fd91c3f7d68aa34e4d60a084c108246af Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 11:02:37 +0800 Subject: [PATCH 07/11] fix illegal char --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 853ccc5..e9ee5c2 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -5,7 +5,7 @@ class Classpy < Formula version "0.7.0" sha256 "7155743c22e93f9adbbae0e8fcd3de70ce852f26ac1558e819a63109b770e033" - bottle :unneeded + # bottle :unneeded # depends_on "openjdk@8" From ac73f5393d4aa4685479ea7d22c39615852f0959 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 11:13:39 +0800 Subject: [PATCH 08/11] fix illegal char --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index e9ee5c2..7e8d070 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -7,7 +7,7 @@ class Classpy < Formula # bottle :unneeded - # depends_on "openjdk@8" + depends_on "openjdk@8" def install prefix.install "classpy-#{version}.jar" From e6ed230227f0c93f02943cb138018a726440ae65 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 12:39:42 +0800 Subject: [PATCH 09/11] fix illegal char --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 7e8d070..db02af4 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -1,7 +1,7 @@ class Classpy < Formula desc "GUI tool for investigating Java class files" homepage "https://github.com/zxh0/classpy" - url "https://github.com/guxingke/oss/raw/master/dist/classpy/classpy-0.7.0.jar" + url "http://github.com/guxingke/oss/raw/master/dist/classpy/classpy-0.7.0.jar" version "0.7.0" sha256 "7155743c22e93f9adbbae0e8fcd3de70ce852f26ac1558e819a63109b770e033" From 875e8449599cf72f5bb29a712eae4d7ef44cce4a Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 16:35:34 +0800 Subject: [PATCH 10/11] fix illegal char --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index db02af4..7e8d070 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -1,7 +1,7 @@ class Classpy < Formula desc "GUI tool for investigating Java class files" homepage "https://github.com/zxh0/classpy" - url "http://github.com/guxingke/oss/raw/master/dist/classpy/classpy-0.7.0.jar" + url "https://github.com/guxingke/oss/raw/master/dist/classpy/classpy-0.7.0.jar" version "0.7.0" sha256 "7155743c22e93f9adbbae0e8fcd3de70ce852f26ac1558e819a63109b770e033" From 049eab3378be24c1aebb661698945d80d27b2915 Mon Sep 17 00:00:00 2001 From: Hao Yuan Date: Sat, 29 Oct 2022 21:53:40 +0800 Subject: [PATCH 11/11] fix illegal char --- Formula/classpy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/classpy.rb b/Formula/classpy.rb index 7e8d070..8abc66c 100644 --- a/Formula/classpy.rb +++ b/Formula/classpy.rb @@ -5,7 +5,7 @@ class Classpy < Formula version "0.7.0" sha256 "7155743c22e93f9adbbae0e8fcd3de70ce852f26ac1558e819a63109b770e033" - # bottle :unneeded + bottle :unneeded depends_on "openjdk@8"