@@ -7,29 +7,32 @@ class ExcalidrawConverter < Formula
7
7
head "https://github.com/sindrel/excalidraw-converter.git" , branch : "master"
8
8
9
9
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"
16
17
end
17
18
18
19
depends_on "go" => :build
19
20
20
21
def install
21
22
system "go" , "build" , *std_go_args ( ldflags : "-s -w" )
23
+ bin . install_symlink "excalidraw-converter" => "exconv"
22
24
end
23
25
24
26
test do
25
27
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"
27
29
sha256 "46fd108ab73f6ba70610cb2a79326e453246d58399b65ffc95e0de41dd2f12e8"
28
30
end
29
31
30
32
resource ( "test_input.excalidraw" ) . stage testpath
31
33
system bin /"excalidraw-converter" , "gliffy" , "-i" , testpath /"test_input.excalidraw" , "-o" ,
32
34
testpath /"test_output.gliffy"
33
35
assert_path_exists testpath /"test_output.gliffy"
36
+ system bin /"exconv" , "version"
34
37
end
35
38
end
0 commit comments