-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurdf-viz.rb
32 lines (29 loc) · 1 KB
/
urdf-viz.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is @generated by formula.sh.
# It is not intended for manual editing.
class UrdfViz < Formula
desc "URDF visualizer"
homepage "https://github.com/openrr/urdf-viz"
version "0.46.1"
license "Apache-2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/openrr/urdf-viz/releases/download/v0.46.1/urdf-viz-aarch64-apple-darwin.tar.gz"
sha256 "7184efa726b453c45a38b8caa36c52c5e87851fc300e1f890f5653c3c58bd00b"
else
url "https://github.com/openrr/urdf-viz/releases/download/v0.46.1/urdf-viz-x86_64-apple-darwin.tar.gz"
sha256 "4524786468bcc9d6fe84199561bcc2ec0bc391a5066bb477c902496d42ae61e5"
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/openrr/urdf-viz/releases/download/v0.46.1/urdf-viz-x86_64-unknown-linux-gnu.tar.gz"
sha256 "64db78dfdad2b36ded29b92050c550b0864075ada64953b6d17decab742250d7"
end
end
def install
bin.install "urdf-viz"
end
test do
system "#{bin}/urdf-viz", "--version"
end
end