-
Notifications
You must be signed in to change notification settings - Fork 5
/
confettysh.rb
51 lines (44 loc) · 1.45 KB
/
confettysh.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Confettysh < Formula
desc "Confetty over SSH"
homepage "https://charm.sh/"
version "1.1.2"
on_macos do
on_intel do
url "https://github.com/charmbracelet/confettysh/releases/download/v1.1.2/confettysh_1.1.2_Darwin_x86_64.tar.gz"
sha256 "0dbd00e3eb9a0e357f03344401f1ca856e2c347b859687837ce2a6611de45fac"
def install
bin.install "confettysh"
end
end
on_arm do
url "https://github.com/charmbracelet/confettysh/releases/download/v1.1.2/confettysh_1.1.2_Darwin_arm64.tar.gz"
sha256 "b2328d95933134a17f632cb97b9936a265b5ef84bdafe95992037ef0b7000c10"
def install
bin.install "confettysh"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/charmbracelet/confettysh/releases/download/v1.1.2/confettysh_1.1.2_Linux_x86_64.tar.gz"
sha256 "60129eaee37ba6a145591cc50055643620e21e96996124817fb657375f4ce4b3"
def install
bin.install "confettysh"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/charmbracelet/confettysh/releases/download/v1.1.2/confettysh_1.1.2_Linux_arm64.tar.gz"
sha256 "f73b9bb461a1eaeefecdd109a93f4bba4700c017b0bc9e185342e38bd57b3827"
def install
bin.install "confettysh"
end
end
end
end
end