-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsvix.rb
53 lines (45 loc) · 1.47 KB
/
svix.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Svix < Formula
desc "Svix CLI utility"
homepage "https://www.svix.com"
version "0.21.1"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/svix/svix-cli/releases/download/v0.21.1/svix_Darwin_x86_64.tar.gz"
sha256 "f3c74e7ef93d728cf5a064c9967eb28e90c644d7f2677384a4cff5620bc983db"
def install
bin.install "svix"
end
end
if Hardware::CPU.arm?
url "https://github.com/svix/svix-cli/releases/download/v0.21.1/svix_Darwin_arm64.tar.gz"
sha256 "4600200f47e8bceeb8ae16f64780b427947c2a576c0e10721a4f313aa4cc8086"
def install
bin.install "svix"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/svix/svix-cli/releases/download/v0.21.1/svix_Linux_arm64.tar.gz"
sha256 "f9eae1e5b805206ada186218be8bb06f601907372f7d72686792417eacda3196"
def install
bin.install "svix"
end
end
if Hardware::CPU.intel?
url "https://github.com/svix/svix-cli/releases/download/v0.21.1/svix_Linux_x86_64.tar.gz"
sha256 "77e66dcce6fb5621d2698fa99370fa34e90a96b5890622acde2a828ed41a3807"
def install
bin.install "svix"
end
end
end
def caveats
<<~EOS
Thanks for installing the Svix CLI! If this is your first time using the CLI, checkout our docs at https://docs.svix.com.
EOS
end
end