-
Notifications
You must be signed in to change notification settings - Fork 9
74 lines (63 loc) · 1.91 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class BkAT3 < Formula
desc "Work with Buildkite from the command-line"
homepage "https://github.com/buildkite/cli"
version "3.1.0"
license "MIT"
on_macos do
on_intel do
url "https://github.com/buildkite/cli/releases/download/v3.1.0/bk_3.1.0_macOS_amd64.zip"
sha256 "fe13ae98d61fc3fa4854f6f895f5cfbb5cb604cef853718338325e11c31f6761"
def install
bin.install "bk"
end
end
on_arm do
url "https://github.com/buildkite/cli/releases/download/v3.1.0/bk_3.1.0_macOS_arm64.zip"
sha256 "b3f6e7980b6a66546abc32e5ef7f210881afb65a6668a073dca05ee780e82c48"
def install
bin.install "bk"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/buildkite/cli/releases/download/v3.1.0/bk_3.1.0_linux_amd64.tar.gz"
sha256 "1af06b773e0122d9902d16d7b8e398289f7924555f65583a76ed66a2c7a16010"
def install
bin.install "bk"
end
end
end
on_arm do
if !Hardware::CPU.is_64_bit?
url "https://github.com/buildkite/cli/releases/download/v3.1.0/bk_3.1.0_linux_armv6.tar.gz"
sha256 "f93ee48555d19e268d1efa73278511cce5a88212cd3726c688e75c4f3d4f9bef"
def install
bin.install "bk"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/buildkite/cli/releases/download/v3.1.0/bk_3.1.0_linux_arm64.tar.gz"
sha256 "fae714711142d63fad7dba3a049bce5995366572dbd3c810853473665908fc58"
def install
bin.install "bk"
end
end
end
end
def caveats
<<~EOS
This is beta software
For any questions, issues or feedback, please file an issue at https://github.com/buildkite/cli/issues
EOS
end
test do
system "#{bin}/bk version"
end
end