-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrig-ops.rb
47 lines (40 loc) · 1.29 KB
/
rig-ops.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class RigOps < Formula
desc ""
homepage ""
version "1.12.7"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/rigdev/rig/releases/download/v1.12.7/rig-ops_darwin_arm64.tar.gz"
sha256 "1a26a937f2b4b4022560b440d3fd134dbd0c44e2ed0606a445c81ae2af69a3a2"
def install
bin.install "rig-ops"
end
end
if Hardware::CPU.intel?
url "https://github.com/rigdev/rig/releases/download/v1.12.7/rig-ops_darwin_x86_64.tar.gz"
sha256 "f9b31bd78402186023549a01be6fac939b14d7cc921ffbadd62525de703f38ef"
def install
bin.install "rig-ops"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/rigdev/rig/releases/download/v1.12.7/rig-ops_linux_arm64.tar.gz"
sha256 "d052969140a9445f4279585f5b5bbc8e981cbcc057d30e1cffbf6e466f05a4bc"
def install
bin.install "rig-ops"
end
end
if Hardware::CPU.intel?
url "https://github.com/rigdev/rig/releases/download/v1.12.7/rig-ops_linux_x86_64.tar.gz"
sha256 "e0e5f133210fffefa2714a99b772d323d2882f2748e33f0caab8089152da6865"
def install
bin.install "rig-ops"
end
end
end
end