mirror of
https://github.com/lukaszraczylo/homebrew-taps.git
synced 2026-06-29 03:34:28 +00:00
53 lines
1.6 KiB
Ruby
53 lines
1.6 KiB
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class Kportal < Formula
|
|
desc "Modern Kubernetes port-forward manager with interactive TUI"
|
|
homepage "https://lukaszraczylo.github.io/kportal"
|
|
version "0.2.25"
|
|
license "MIT"
|
|
|
|
depends_on "kubernetes-cli" => :optional
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://github.com/lukaszraczylo/kportal/releases/download/v0.2.25/kportal-0.2.25-darwin-amd64.tar.gz"
|
|
sha256 "666e5d47f0180572d36118266abdc23b16a4541aee0ee23a3e5ded7f74a99689"
|
|
|
|
def install
|
|
bin.install "kportal"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://github.com/lukaszraczylo/kportal/releases/download/v0.2.25/kportal-0.2.25-darwin-arm64.tar.gz"
|
|
sha256 "dfb5d959a2ae9005e0cd6b9e58f121ea9c21e51fec33baabee3de07d277c3e6a"
|
|
|
|
def install
|
|
bin.install "kportal"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
|
|
url "https://github.com/lukaszraczylo/kportal/releases/download/v0.2.25/kportal-0.2.25-linux-amd64.tar.gz"
|
|
sha256 "048421f8deb376258e45a81f3c8c29662a547c99e07f6aa29c1465f568e1a681"
|
|
def install
|
|
bin.install "kportal"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
|
|
url "https://github.com/lukaszraczylo/kportal/releases/download/v0.2.25/kportal-0.2.25-linux-arm64.tar.gz"
|
|
sha256 "b679bdc9afa5cce301e0fdda5b397994a465c32f3ef7d187f5b7bc9a047b6fa4"
|
|
def install
|
|
bin.install "kportal"
|
|
end
|
|
end
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/kportal", "--version"
|
|
end
|
|
end
|