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.4"
|
|
license "MIT"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.intel?
|
|
url "https://github.com/steveyegge/beads/releases/download/v0.21.4/beads_0.21.4_darwin_amd64.tar.gz"
|
|
sha256 "c9a922de032f1861fe928f5a817da76b18718f6a30fd36fa2f1d8845d637d2ce"
|
|
|
|
def install
|
|
bin.install "bd"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://github.com/steveyegge/beads/releases/download/v0.21.4/beads_0.21.4_darwin_arm64.tar.gz"
|
|
sha256 "b04a9ac371fbeb3d18817b18f0c0a04665cb8ae24c79c8891ca3ed477ac444ce"
|
|
|
|
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.4/beads_0.21.4_linux_amd64.tar.gz"
|
|
sha256 "edc9a3262c0edc0f4e9a05f1fcd86d612be1434af4a38a5563879d3a54b125f8"
|
|
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.4/beads_0.21.4_linux_arm64.tar.gz"
|
|
sha256 "a0bcd71c6f00ce7149123bd6e60a755f4b8bb4f2b3ce7eeacbe37afb00b846ad"
|
|
def install
|
|
bin.install "bd"
|
|
end
|
|
end
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/bd", "version"
|
|
end
|
|
end
|