-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscore-k8s.rb
51 lines (44 loc) · 1.46 KB
/
score-k8s.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 ScoreK8s < Formula
desc ""
homepage "https://score.dev"
version "0.1.18"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/score-spec/score-k8s/releases/download/0.1.18/score-k8s_0.1.18_darwin_amd64.tar.gz"
sha256 "e703f009aed8479f82eca7e4369dcc8da02bb4890b2766805263c6299a16812f"
def install
bin.install "score-k8s"
end
end
if Hardware::CPU.arm?
url "https://github.com/score-spec/score-k8s/releases/download/0.1.18/score-k8s_0.1.18_darwin_arm64.tar.gz"
sha256 "c1f944f84522d3d273d4ee5c1bc2991874b421d12e00347350527ee54a1982b2"
def install
bin.install "score-k8s"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/score-spec/score-k8s/releases/download/0.1.18/score-k8s_0.1.18_linux_amd64.tar.gz"
sha256 "d29c058d22b4183610e1c5e98c77a9e4605d8a1696845d36867d340fe32f546c"
def install
bin.install "score-k8s"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/score-spec/score-k8s/releases/download/0.1.18/score-k8s_0.1.18_linux_arm64.tar.gz"
sha256 "49a67ceef6c8fb2e683965503dec8d8c839ecacbca749482589793a0adc8a137"
def install
bin.install "score-k8s"
end
end
end
end
end