-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1.44 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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class ZarfAT0240 < Formula
desc "DevSecOps for Air Gap"
homepage "https://zarf.dev/"
version "0.24.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/zarf-dev/zarf/releases/download/v0.24.0/zarf_v0.24.0_Darwin_arm64"
sha256 "39c206b354a2590ee4b92a881a7917dc8a18c9921676d7ee1b2a379951aa9598"
def install
bin.install "zarf_v0.24.0_Darwin_arm64" => "zarf"
end
end
if Hardware::CPU.intel?
url "https://github.com/zarf-dev/zarf/releases/download/v0.24.0/zarf_v0.24.0_Darwin_amd64"
sha256 "7f5a2168051fa74dfdb03732e0744a3a67c53c526b0803151d2b2e6cb139ff69"
def install
bin.install "zarf_v0.24.0_Darwin_amd64" => "zarf"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/zarf-dev/zarf/releases/download/v0.24.0/zarf_v0.24.0_Linux_arm64"
sha256 "54a3f8d96951cb6d8c09a13c1bdc9eddefa9e51ac2ce7b40bb80b2397cbd0872"
def install
bin.install "zarf_v0.24.0_Linux_arm64" => "zarf"
end
end
if Hardware::CPU.intel?
url "https://github.com/zarf-dev/zarf/releases/download/v0.24.0/zarf_v0.24.0_Linux_amd64"
sha256 "806d37443b2519e55cbd10926e4dc484608ea118c8e8fbefbe68c7625e006006"
def install
bin.install "zarf_v0.24.0_Linux_amd64" => "zarf"
end
end
end
end