Files
homebrew-taps/Formula/lolcathost.rb
T
2025-12-08 01:51:30 +00:00

51 lines
1.6 KiB
Ruby

# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Lolcathost < Formula
desc "Dynamic host management tool for macOS and Linux with TUI"
homepage "https://github.com/lukaszraczylo/lolcathost"
version "0.1.19"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v0.1.19/lolcathost-0.1.19-darwin-amd64.tar.gz"
sha256 "898d95bd942dea4ff3ffd852f919e34b22de117b83909ce039ede963fbf84a1d"
def install
bin.install "lolcathost"
end
end
if Hardware::CPU.arm?
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v0.1.19/lolcathost-0.1.19-darwin-arm64.tar.gz"
sha256 "21ef2b95a0e4793fd1e5229926668203cfc98dfa531acce3acdcdb3c25df6ec9"
def install
bin.install "lolcathost"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v0.1.19/lolcathost-0.1.19-linux-amd64.tar.gz"
sha256 "968893bbe764fe293eeb4a1787693757c7df27412c70224551f885db885527c6"
def install
bin.install "lolcathost"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/lukaszraczylo/lolcathost/releases/download/v0.1.19/lolcathost-0.1.19-linux-arm64.tar.gz"
sha256 "c2567ad9170da12bf990c7bec65badf32937fe8727f73ef0df6879dab5dc2c56"
def install
bin.install "lolcathost"
end
end
end
test do
system "#{bin}/lolcathost", "--version"
end
end