-
Notifications
You must be signed in to change notification settings - Fork 2
/
argus.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.41.0"
on_macos do
on_intel do
url "https://github.com/chanzuckerberg/argus-artifacts/releases/download/v0.41.0/argus_0.41.0_darwin_amd64.tar.gz"
sha256 "d5a8e2ec94daa7c424107c12878ed7fad8fd43b4698c644f5ca48d17a980b933"
def install
bin.install "argus"
end
end
on_arm do
url "https://github.com/chanzuckerberg/argus-artifacts/releases/download/v0.41.0/argus_0.41.0_darwin_arm64.tar.gz"
sha256 "634b211005c7b3bcb3e22105088ab1f40f0567440560f26cf0ef6f2c1c270279"
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.41.0/argus_0.41.0_linux_amd64.tar.gz"
sha256 "1a2e4760742baf9d9021a3822ea6ec260807ee4eeb06cc2b486538facdaa5dc1"
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.41.0/argus_0.41.0_linux_arm64.tar.gz"
sha256 "8594254a17cb3cbd6b3dfc79a0c41df142915b601213848694b55845a1dd0beb"
def install
bin.install "argus"
end
end
end
end
test do
system "#{bin}/argus version"
end
end