-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (43 loc) · 1.52 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
46
47
48
49
50
51
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class BlessclientAT1 < Formula
desc "SSH without pain."
homepage "https://github.com/chanzuckerberg/blessclient"
version "1.7.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/chanzuckerberg/blessclient/releases/download/v1.7.0/blessclient_1.7.0_darwin_arm64.tar.gz"
sha256 "411c4cf9646138243ddf3420b294e461a2e14fbf5549bf3c7deec62b4a69b8de"
def install
bin.install "blessclient"
end
end
if Hardware::CPU.intel?
url "https://github.com/chanzuckerberg/blessclient/releases/download/v1.7.0/blessclient_1.7.0_darwin_amd64.tar.gz"
sha256 "933df456d5ec48b25a9b7fda1b79af7385078c4f7a348589a7b7e3628e50c046"
def install
bin.install "blessclient"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/chanzuckerberg/blessclient/releases/download/v1.7.0/blessclient_1.7.0_linux_arm64.tar.gz"
sha256 "651f265a2cd7d9491f87e756dccd66ddbb258217f8b0e5bb1880cea859d905a3"
def install
bin.install "blessclient"
end
end
if Hardware::CPU.intel?
url "https://github.com/chanzuckerberg/blessclient/releases/download/v1.7.0/blessclient_1.7.0_linux_amd64.tar.gz"
sha256 "1c87436aa92e7a1ec9492460c4126fd788498ebf73ce8101baef4383ea785a29"
def install
bin.install "blessclient"
end
end
end
test do
system "#{bin}/blessclient version"
end
end