-
Notifications
You must be signed in to change notification settings - Fork 0
/
nctl.rb
51 lines (44 loc) · 1.33 KB
/
nctl.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Nctl < Formula
desc "Nirmata CLI to scan and remediate Kubernetes manifests, Terraform, and more!"
homepage "https://docs.nirmata.io/nctl/"
version "4.3.1"
on_macos do
on_intel do
url "https://dl.nirmata.io/nctl/nctl_4.3.1/nctl_4.3.1_macos_amd64.zip"
sha256 "e17dea3d1ada6af710938982798c3882d55edad39c99ea958651768392afdc4d"
def install
bin.install "nctl"
end
end
on_arm do
url "https://dl.nirmata.io/nctl/nctl_4.3.1/nctl_4.3.1_macos_arm64.zip"
sha256 "a0d713e197bbea3e104b3d79605c59d8455817c2be7b5bc29c2d811bbc71e540"
def install
bin.install "nctl"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://dl.nirmata.io/nctl/nctl_4.3.1/nctl_4.3.1_linux_amd64.zip"
sha256 "076f2fb5fe9516357910a84861459d4b45131ce6817b8dc3ad933965d3cdb77c"
def install
bin.install "nctl"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://dl.nirmata.io/nctl/nctl_4.3.1/nctl_4.3.1_linux_arm64.zip"
sha256 "9c579be1ddc7ec194e086c4b7dc7802938b19db09a38c38389f8cd3067554a5a"
def install
bin.install "nctl"
end
end
end
end
end