Homebrew tap for zerolabsco tools

homebrew packaging tap

Formula/gitbay.rb

19 lines · 515 bytes

 1class Gitbay < Formula
 2  desc "CLI for gitbay, the CLI-first git forge"
 3  homepage "https://gitbay.org"
 4  url "https://gitbay.org/krz/gitbay.git",
 5      tag:      "v0.4.0",
 6      revision: "b4684c088d2b99f0f42c4e95231c4c0edc122323"
 7  license "0BSD"
 8  head "https://gitbay.org/krz/gitbay.git", branch: "main"
 9
10  depends_on "go" => :build
11
12  def install
13    system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/gitbay"
14  end
15
16  test do
17    assert_match "forge", shell_output("#{bin}/gitbay --help")
18  end
19end