-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmiru.rb
More file actions
45 lines (40 loc) · 1.43 KB
/
miru.rb
File metadata and controls
45 lines (40 loc) · 1.43 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Miru < Formula
desc "Configuration management for Robotics"
homepage "https://docs.mirurobotics.com"
version "0.10.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/mirurobotics/cli/releases/download/v0.10.0/cli_Darwin_x86_64.tar.gz"
sha256 "47cde3c79129a173fcf711e9f3a3f2fb81e4a90d91a58035ae31dccb2721070e"
define_method(:install) do
bin.install "miru"
end
end
if Hardware::CPU.arm?
url "https://github.com/mirurobotics/cli/releases/download/v0.10.0/cli_Darwin_arm64.tar.gz"
sha256 "d1c3f69d1080610fb03d50915c39e9d686a24cd7307f5c82c6ddf6e4851e1793"
define_method(:install) do
bin.install "miru"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/mirurobotics/cli/releases/download/v0.10.0/cli_Linux_x86_64.tar.gz"
sha256 "1e1a7e39f8e2fdb6d06bdfec1f180ecca08bb4f4eb97baf4cbfefc79783c3d7a"
define_method(:install) do
bin.install "miru"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/mirurobotics/cli/releases/download/v0.10.0/cli_Linux_arm64.tar.gz"
sha256 "7c7f4e07f791cbb83b1c7e4bec3a4dae24d40ac160962f0fd7ce725270f3b2e5"
define_method(:install) do
bin.install "miru"
end
end
end
end