-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1.52 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 UdsAT040 < Formula
desc "CLI for Unicorn Delivery Service"
homepage "https://github.com/defenseunicorns/uds-cli"
version "0.4.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/defenseunicorns/uds-cli/releases/download/v0.4.0/uds-cli_v0.4.0_Darwin_amd64"
sha256 "47ea51442e3b232638ce6d7cd6b9047647ff867acffd4780016a41c3f79e730a"
def install
bin.install "uds-cli_v0.4.0_Darwin_amd64" => "uds"
end
end
if Hardware::CPU.arm?
url "https://github.com/defenseunicorns/uds-cli/releases/download/v0.4.0/uds-cli_v0.4.0_Darwin_arm64"
sha256 "195a57f456d2ecd5d2d935fc47e0b2ea635a66666bdaaf7bd55ee4efa0de755f"
def install
bin.install "uds-cli_v0.4.0_Darwin_arm64" => "uds"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/defenseunicorns/uds-cli/releases/download/v0.4.0/uds-cli_v0.4.0_Linux_amd64"
sha256 "7f6506bc2833c457582f6abb1048415188032b29d702f355b1e3a0d827fddc14"
def install
bin.install "uds-cli_v0.4.0_Linux_amd64" => "uds"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/defenseunicorns/uds-cli/releases/download/v0.4.0/uds-cli_v0.4.0_Linux_arm64"
sha256 "acda5d4f9c3424723395fb48ea76222d341abb3d69f848548281921bc09cc81e"
def install
bin.install "uds-cli_v0.4.0_Linux_arm64" => "uds"
end
end
end
end