-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathargus.rb
55 lines (47 loc) · 1.55 KB
/
argus.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
48
49
50
51
52
53
54
55
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Argus < Formula
desc "The command line tool for the Argus platform."
homepage "https://github.com/chanzuckerberg/argus-artifacts"
version "0.47.4"
on_macos do
on_intel do
url "https://github.com/chanzuckerberg/argus-artifacts/releases/download/v0.47.4/argus_0.47.4_darwin_amd64.tar.gz"
sha256 "0eb08cc6481349d1f8a45f8d58fdcaffd57ec133f1fbda8b05e20867acde9144"
def install
bin.install "argus"
end
end
on_arm do
url "https://github.com/chanzuckerberg/argus-artifacts/releases/download/v0.47.4/argus_0.47.4_darwin_arm64.tar.gz"
sha256 "7dff2125616839ada78af2111096071ef77676d218be3d281e0c39a9d11aa4e6"
def install
bin.install "argus"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/chanzuckerberg/argus-artifacts/releases/download/v0.47.4/argus_0.47.4_linux_amd64.tar.gz"
sha256 "059b72446bd1f015a56e47413dc50e9211e0a36eabae48e92d16e0862fee0013"
def install
bin.install "argus"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/chanzuckerberg/argus-artifacts/releases/download/v0.47.4/argus_0.47.4_linux_arm64.tar.gz"
sha256 "4f96c4fc4578d51ee8e7a241e5a19c69b7cd7c79c544e1cc4b012e741cfc3354"
def install
bin.install "argus"
end
end
end
end
test do
system "#{bin}/argus version"
end
end