โ– humdrum codex / homebrew-tap
506 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 Glint < Formula
  desc "Command-line application"
  homepage "https://codex.humdrum.me/r/glint"
  url "https://codex.humdrum.me/dl/glint-1.1.2.tar.gz"
  sha256 "4d4a69da2c70f052619ad790a3bd8e99163a839fb5a7e2927c35cfbefa081aa3"
  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/"glint"
  end
end