forked from kubestellar/kubeflex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkubeflex.rb
51 lines (44 loc) · 1.43 KB
/
kubeflex.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 Kubeflex < Formula
desc ""
homepage "https://github.com/kubestellar/kubeflex"
version "0.6.2"
on_macos do
on_intel do
url "https://github.com/kubestellar/kubeflex/releases/download/v0.6.2/kubeflex_0.6.2_darwin_amd64.tar.gz"
sha256 "a7d5b294282a8bbf13663077a172b8d98ba8777645332fd1f34eefb2a7cdf147"
def install
bin.install "bin/kflex"
end
end
on_arm do
url "https://github.com/kubestellar/kubeflex/releases/download/v0.6.2/kubeflex_0.6.2_darwin_arm64.tar.gz"
sha256 "f3b87b8e88e51669571f02d8fd3f38da86a74c1e4a90fc5d9c4bbad51772d849"
def install
bin.install "bin/kflex"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.6.2/kubeflex_0.6.2_linux_amd64.tar.gz"
sha256 "3876c6392e8beedc3ac2af4761104c69b295717ffbafdd24562f397d83096b8a"
def install
bin.install "bin/kflex"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.6.2/kubeflex_0.6.2_linux_arm64.tar.gz"
sha256 "77c807373f80398d97ff8765032d530ec7d0a6bbf9d4a36d7a1680cfd46b56ee"
def install
bin.install "bin/kflex"
end
end
end
end
end