▍ humdrum codex / homebrew-tap

custard v0.1.0

39adcb0414bffc00778d73b9beb486aa18a504ac
custard <custard@codex.humdrum.me> · 2026-06-18 15:23

parent f580ba31

1 files changed

Formula/custard.rb +18 −0
@@ -0,0 +1,18 @@
+# Generated by custard — do not edit by hand.
+class Custard < Formula
+  desc "Web code forge over Soft Serve — this site"
+  homepage "https://codex.humdrum.me/r/custard"
+  url "https://codex.humdrum.me/dl/custard-0.1.0.tar.gz"
+  sha256 "fadadd8c615b88ae843cd53be227b25ed8576aa24fa62c1f8bc8c94d03a3265d"
+  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}"), "./cmd/custard"
+  end
+
+  test do
+    assert_path_exists bin/"custard"
+  end
+end