-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathkflex.rb
More file actions
45 lines (40 loc) · 1.42 KB
/
kflex.rb
File metadata and controls
45 lines (40 loc) · 1.42 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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Kflex < Formula
desc ""
homepage "https://github.com/kubestellar/kubeflex"
version "0.9.3"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.3/kubeflex_0.9.3_darwin_amd64.tar.gz"
sha256 "29106a79dd6f2eddf2c72ce28402d030a83a18aa4f53ae8929aeb51b6ed161f8"
def install
bin.install "bin/kflex"
end
end
if Hardware::CPU.arm?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.3/kubeflex_0.9.3_darwin_arm64.tar.gz"
sha256 "214420b415f2013f8d15e1a2128ac16b9b5edd998b13fb638c5078c55fde2fd6"
def install
bin.install "bin/kflex"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.3/kubeflex_0.9.3_linux_amd64.tar.gz"
sha256 "f5c98efc7ac949adc74bf72bfbb1df7f7fee29e6f145ccb3488879686fd92277"
def install
bin.install "bin/kflex"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/kubestellar/kubeflex/releases/download/v0.9.3/kubeflex_0.9.3_linux_arm64.tar.gz"
sha256 "94f61171fbec8a0517fbace9b61c0b05cd49b646bfd5123dab2a03258c3b7b0b"
def install
bin.install "bin/kflex"
end
end
end
end