-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkr8.rb
45 lines (38 loc) · 1.2 KB
/
kr8.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Kr8 < Formula
desc "Opinionated configuration management tool for Kubernetes Cluster"
homepage "https://kr8.rocks"
version "0.3.6"
depends_on "go-task/tap/go-task"
depends_on "helm"
depends_on "jsonnet"
on_macos do
url "https://github.com/apptio/kr8/releases/download/v0.3.6/kr8_0.3.6_darwin_amd64.tar.gz"
sha256 "63aba80d28d6c95dc6e84cf1b63d31f19e4afec38c45b9b12ef263ffc4800346"
def install
bin.install "kr8"
bin.install "scripts/kr8-helpers"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Kr8
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/apptio/kr8/releases/download/v0.3.6/kr8_0.3.6_linux_amd64.tar.gz"
sha256 "4e12369144550ceddfa3bb2128d1f31cc8300ccbf9a2a09d3c8652b2761ff0cf"
def install
bin.install "kr8"
bin.install "scripts/kr8-helpers"
end
end
end
end