▍ humdrum codex / homebrew-tap
557 B raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# Generated by custard — do not edit by hand.
class Sportsball < Formula
  desc "Terminal dashboard for live sports — a Bubble Tea TUI"
  homepage "https://codex.humdrum.me/r/sportsball"
  url "https://codex.humdrum.me/dl/sportsball-0.1.4.tar.gz"
  sha256 "05b28ec215a69e55da2a5892e491458d5fea481cb4a0abe3fb9da5d465764ea6"
  license "AGPL-3.0-or-later"

  depends_on "go" => :build

  def install
    system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "."
  end

  test do
    assert_path_exists bin/"sportsball"
  end
end