forked from GetStream/stream-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stream-cli.rb
47 lines (40 loc) · 1.43 KB
/
stream-cli.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 StreamCli < Formula
desc "Manage your Stream applications easily."
homepage "https://github.com/GetStream/stream-cli"
version "1.7.2"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/GetStream/stream-cli/releases/download/v1.7.2/stream-cli_Darwin_arm64.tar.gz"
sha256 "731abfc2a08440861e9340e5989b8a5357677bb2fc352aa6cae24d5e9b8c54e3"
def install
bin.install "stream-cli"
end
end
if Hardware::CPU.intel?
url "https://github.com/GetStream/stream-cli/releases/download/v1.7.2/stream-cli_Darwin_x86_64.tar.gz"
sha256 "90d2442c6071647ca5a20b28e373e4ee030b664f10e589b6355e2a245dc27d46"
def install
bin.install "stream-cli"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/GetStream/stream-cli/releases/download/v1.7.2/stream-cli_Linux_arm64.tar.gz"
sha256 "5608f00b633c1ccec0ee65cadd42a9765337838269024c3f23003ceaa2feaf40"
def install
bin.install "stream-cli"
end
end
if Hardware::CPU.intel?
url "https://github.com/GetStream/stream-cli/releases/download/v1.7.2/stream-cli_Linux_x86_64.tar.gz"
sha256 "274fd30b6635d40135390f4cf96c33ca8770a230718d460ffe0ad10eaa62ed02"
def install
bin.install "stream-cli"
end
end
end
end