Files
beads/Formula/bd.rb
2025-11-04 00:41:17 -08:00

51 lines
1.5 KiB
Ruby

# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Bd < Formula
desc "AI-supervised issue tracker for coding workflows"
homepage "https://github.com/steveyegge/beads"
version "0.21.6"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/steveyegge/beads/releases/download/v0.21.6/beads_0.21.6_darwin_amd64.tar.gz"
sha256 "a3893c17624dc3af2fbfa0c201c8ec51e6a95551cf723c6a79fb8ee3230c8b23"
def install
bin.install "bd"
end
end
if Hardware::CPU.arm?
url "https://github.com/steveyegge/beads/releases/download/v0.21.6/beads_0.21.6_darwin_arm64.tar.gz"
sha256 "4c9e74398975bcb7eb79bf8dedd23bcd6247014eb5547d4530759a9b98033958"
def install
bin.install "bd"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/steveyegge/beads/releases/download/v0.21.6/beads_0.21.6_linux_amd64.tar.gz"
sha256 "f17b37144f36b8604d04281948c5850900aa44351cc5b10aefd864fcb2a588cd"
def install
bin.install "bd"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/steveyegge/beads/releases/download/v0.21.6/beads_0.21.6_linux_arm64.tar.gz"
sha256 "adf0bd34c8e09179733e33ef370084c10537cd9fd27b933a9eabaa4ec1051a31"
def install
bin.install "bd"
end
end
end
test do
system "#{bin}/bd", "version"
end
end