Files

38 lines
1.2 KiB
Ruby

# Wird von .github/workflows/release.yml bei jedem Release neu geschrieben.
class Sshtermy < Formula
desc "SSH terminal with an AI copilot"
homepage "https://db9979.github.io/sshtermy/"
license "MIT"
version "1.0.445"
on_macos do
on_arm do
url "https://github.com/db9979/sshtermy/releases/download/v1.0.445/sshtermy_darwin_arm64"
sha256 "4a3cdbc60e675a02d9d4a5f222fdce171d411407d378fea3da6eb115aba7633a"
end
on_intel do
url "https://github.com/db9979/sshtermy/releases/download/v1.0.445/sshtermy_darwin_amd64"
sha256 "cd27006ff26b8f3f8e9cdbede08152e34bb7d64526a4393a641089883b1a2b1b"
end
end
on_linux do
on_arm do
url "https://github.com/db9979/sshtermy/releases/download/v1.0.445/sshtermy_linux_arm64"
sha256 "f39fa0e8ea1c49583207811d8079d473f1eca39c49c06271b834053dbec17e43"
end
on_intel do
url "https://github.com/db9979/sshtermy/releases/download/v1.0.445/sshtermy_linux_amd64"
sha256 "fc1feb05bbe80dd6feb60f02ade8197f0ea075386274221298dff79d45c11330"
end
end
def install
bin.install Dir["sshtermy_*"].first => "sshtermy"
end
test do
assert_match version.to_s, shell_output("#{bin}/sshtermy --version")
end
end