▍ humdrum codex / homebrew-tap

glint v0.1.0

56469972cda4bc5dcdc71c76a0c6fa84559af99f
custard <custard@codex.humdrum.me> · 2026-06-29 17:33

parent 582c2b2c

1 files changed

Formula/glint.rb +18 −0
@@ -0,0 +1,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-0.1.0.tar.gz"
+  sha256 "5980efbdbfa5b2717a985ea02d73f7c97ab0cc0efc8584843d3945809972fcee"
+  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