▍ humdrum codex / homebrew-tap
550 B raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# Generated by custard brew-release.sh — 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.2.0.tar.gz"
  sha256 "14b90d84453f76f45e8e537eee438f91b076eb8cf00228266c1f5fd31b51ad59"
  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/"custard"
  end
end