-
Notifications
You must be signed in to change notification settings - Fork 5
/
cirrus.rb
73 lines (64 loc) · 2.15 KB
/
cirrus.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Cirrus < Formula
desc ""
homepage ""
version "0.133.2"
license "AGPL-3.0-only"
on_macos do
on_intel do
url "https://github.com/cirruslabs/cirrus-cli/releases/download/v0.133.2/cirrus-darwin-amd64.tar.gz"
sha256 "48f384d53c9b1ba5640a2cad7d15e574a4dc5c5dbce65ae6e6b9d0f0984a28e6"
def install
bin.install "cirrus"
generate_completions_from_executable(bin/"cirrus", "completion")
end
end
on_arm do
url "https://github.com/cirruslabs/cirrus-cli/releases/download/v0.133.2/cirrus-darwin-arm64.tar.gz"
sha256 "090107287cdb7cec9987be2aab7e3b1c821509be046084a625b89305cf7df675"
def install
bin.install "cirrus"
generate_completions_from_executable(bin/"cirrus", "completion")
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/cirrus-cli/releases/download/v0.133.2/cirrus-linux-amd64.tar.gz"
sha256 "a802e96c5a3bffc82663a3ffe7e29d5b56bdcc4e68a320a2068f8629bccac9cc"
def install
bin.install "cirrus"
generate_completions_from_executable(bin/"cirrus", "completion")
end
end
end
on_arm do
if !Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/cirrus-cli/releases/download/v0.133.2/cirrus-linux-arm.tar.gz"
sha256 "041ece09e1954490449a871d873e4b90d7ee5be203aa5db500088d13afe77e80"
def install
bin.install "cirrus"
generate_completions_from_executable(bin/"cirrus", "completion")
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/cirrus-cli/releases/download/v0.133.2/cirrus-linux-arm64.tar.gz"
sha256 "327fca80d734f3f3cc78201f2c2beaf0b13274e2eff891516b2370370f647ff5"
def install
bin.install "cirrus"
generate_completions_from_executable(bin/"cirrus", "completion")
end
end
end
end
def caveats
<<~EOS
See the Github repository for more information
EOS
end
end