51 lines
1.5 KiB
Ruby
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.8"
|
|
license "MIT"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://github.com/steveyegge/beads/releases/download/v0.21.8/beads_0.21.8_darwin_amd64.tar.gz"
|
|
sha256 "ea8497bc8f6a0d160b78df1a58a8565d5f396f50da6c3af40ac0beedec79daf0"
|
|
|
|
def install
|
|
bin.install "bd"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://github.com/steveyegge/beads/releases/download/v0.21.8/beads_0.21.8_darwin_arm64.tar.gz"
|
|
sha256 "efe00ef1fc73c6800f533312d4803ddf5408b6e71f4c389cd82d8766b2b05fe6"
|
|
|
|
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.8/beads_0.21.8_linux_amd64.tar.gz"
|
|
sha256 "27db39afa09bb29d6e32f04d41756ca955739c2e3f5b669b129eb06502ed3d73"
|
|
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.8/beads_0.21.8_linux_arm64.tar.gz"
|
|
sha256 "d4ef565afeb49d2a6584d0a07aea553f44aff5f4f9a79abb09dfb3f59626de03"
|
|
def install
|
|
bin.install "bd"
|
|
end
|
|
end
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/bd", "version"
|
|
end
|
|
end
|