Skip to content

Commit 33d7649

Browse files
authored
Merge pull request #212686 from sindrel/master
excalidraw-converter: fix backwards compatibility
2 parents 24c0dd6 + f8667ef commit 33d7649

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Formula/e/excalidraw-converter.rb

+10-7
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,32 @@ class ExcalidrawConverter < Formula
77
head "https://github.com/sindrel/excalidraw-converter.git", branch: "master"
88

99
bottle do
10-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "763dc4bb5ee943e4410d0e62ce974df086fb30c9880aad434931d5ec7ee315b9"
11-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "763dc4bb5ee943e4410d0e62ce974df086fb30c9880aad434931d5ec7ee315b9"
12-
sha256 cellar: :any_skip_relocation, arm64_ventura: "763dc4bb5ee943e4410d0e62ce974df086fb30c9880aad434931d5ec7ee315b9"
13-
sha256 cellar: :any_skip_relocation, sonoma: "922fa0d2076dab8305a8b3272be219dca5b5df39f1fe1fac65399406bfe000bb"
14-
sha256 cellar: :any_skip_relocation, ventura: "922fa0d2076dab8305a8b3272be219dca5b5df39f1fe1fac65399406bfe000bb"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "dd5c567b5a6222f47ad7af9c470e806c5518d85dd37bdd614859217a0b6b7ad6"
10+
rebuild 1
11+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "dc23c5e752693645418f3c42a98a66579e54c32f8355145e96cc671a36b0516a"
12+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "dc23c5e752693645418f3c42a98a66579e54c32f8355145e96cc671a36b0516a"
13+
sha256 cellar: :any_skip_relocation, arm64_ventura: "dc23c5e752693645418f3c42a98a66579e54c32f8355145e96cc671a36b0516a"
14+
sha256 cellar: :any_skip_relocation, sonoma: "549b36612acb600e5dfdffae4597a2973cb063600ac61f153349c35f1557666a"
15+
sha256 cellar: :any_skip_relocation, ventura: "549b36612acb600e5dfdffae4597a2973cb063600ac61f153349c35f1557666a"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "a2d69479c2407d3ef1e1773ceab68642d2e5962a9c870589e2ffca50ff49ee6b"
1617
end
1718

1819
depends_on "go" => :build
1920

2021
def install
2122
system "go", "build", *std_go_args(ldflags: "-s -w")
23+
bin.install_symlink "excalidraw-converter" => "exconv"
2224
end
2325

2426
test do
2527
resource "test_input.excalidraw" do
26-
url "https://raw.githubusercontent.com/sindrel/excalidraw-converter/refs/heads/master/test/data/test_input.excalidraw"
28+
url "https://raw.githubusercontent.com/sindrel/excalidraw-converter/refs/tags/v1.4.3/test/data/test_input.excalidraw"
2729
sha256 "46fd108ab73f6ba70610cb2a79326e453246d58399b65ffc95e0de41dd2f12e8"
2830
end
2931

3032
resource("test_input.excalidraw").stage testpath
3133
system bin/"excalidraw-converter", "gliffy", "-i", testpath/"test_input.excalidraw", "-o",
3234
testpath/"test_output.gliffy"
3335
assert_path_exists testpath/"test_output.gliffy"
36+
system bin/"exconv", "version"
3437
end
3538
end

0 commit comments

Comments
 (0)