Files
beads/Formula/bd.rb
2025-11-03 06:40:37 +00: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.5"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/steveyegge/beads/releases/download/v0.21.5/beads_0.21.5_darwin_amd64.tar.gz"
sha256 "b6cc0b2986aef937df32e4e78e5228abf79f7de848d26e4da1922f3435572793"
def install
bin.install "bd"
end
end
if Hardware::CPU.arm?
url "https://github.com/steveyegge/beads/releases/download/v0.21.5/beads_0.21.5_darwin_arm64.tar.gz"
sha256 "054d6cc92af67e57a9d6ef434e1b8a61fde3d6a7502c74fba3446e1088a208ba"
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.5/beads_0.21.5_linux_amd64.tar.gz"
sha256 "39682a1118ada8d771528ff1c825ce50ea536e37805595700c68379dde9ba93e"
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.5/beads_0.21.5_linux_arm64.tar.gz"
sha256 "416545ee905ed7533d976cf6537b7546cde18fb339a69e37423a5c7fb4fcffbe"
def install
bin.install "bd"
end
end
end
test do
system "#{bin}/bd", "version"
end
end