-
Notifications
You must be signed in to change notification settings - Fork 0
/
squadron.rb
61 lines (52 loc) · 1.56 KB
/
squadron.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Squadron < Formula
desc "CLI utility manage infrastructure as code with helm"
homepage "https://github.com/foomo/squadron"
version "2.5.0"
on_macos do
on_intel do
url "https://github.com/foomo/squadron/releases/download/v2.5.0/squadron_2.5.0_darwin_amd64.tar.gz"
sha256 "0b96bef759f8e046a2c65b1e45393e7a77b5896bee35ec1646e306f25fb5764e"
def install
bin.install "squadron"
end
end
on_arm do
url "https://github.com/foomo/squadron/releases/download/v2.5.0/squadron_2.5.0_darwin_arm64.tar.gz"
sha256 "2749b4a6593aa93bcfbc6b753eeee09dd8f112c21d9352ae4fa3bf98b97b107f"
def install
bin.install "squadron"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/foomo/squadron/releases/download/v2.5.0/squadron_2.5.0_linux_amd64.tar.gz"
sha256 "c7ec5ac8ed1320b9ab6753ebce4058737145889c794be658985ab39a8af4efd8"
def install
bin.install "squadron"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/foomo/squadron/releases/download/v2.5.0/squadron_2.5.0_linux_arm64.tar.gz"
sha256 "c5e0956674760c058fd4c2e0d1d13e7f7c80bae61363f7049154a10b8066fac4"
def install
bin.install "squadron"
end
end
end
end
def caveats
<<~EOS
squadron -h
EOS
end
test do
system "#{bin}/squadron --version"
end
end