forked from kubestellar/kubeflex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkubeflex.rb
More file actions
47 lines (40 loc) · 1.4 KB
/
kubeflex.rb
File metadata and controls
47 lines (40 loc) · 1.4 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 Kubeflex < Formula
desc ""
homepage "https://github.com/kubestellar/kubeflex"
version "0.3.3"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.3.3/kubeflex_0.3.3_darwin_arm64.tar.gz"
sha256 "92f46e6fc1cb30c8558e7e515b6714cf7d4405a57bc3d710ae199027bb29782b"
def install
bin.install "bin/kflex"
end
end
if Hardware::CPU.intel?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.3.3/kubeflex_0.3.3_darwin_amd64.tar.gz"
sha256 "50e71d434193426119fd91d70888515323f42cc93bd42401cf48bf3e5929801a"
def install
bin.install "bin/kflex"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.3.3/kubeflex_0.3.3_linux_arm64.tar.gz"
sha256 "0dee1e65fcc47d709ef6fac47973746c43de27f44364d002f5a8b24c7c2d11ba"
def install
bin.install "bin/kflex"
end
end
if Hardware::CPU.intel?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.3.3/kubeflex_0.3.3_linux_amd64.tar.gz"
sha256 "4f14c588f68e8fba900790944dabd55c60a7bf1f402d4b66fa2b7b60a339c80b"
def install
bin.install "bin/kflex"
end
end
end
end