Skip to content

Commit

Permalink
adding skeleton for brew
Browse files Browse the repository at this point in the history
  • Loading branch information
deadc0de6 committed Jul 1, 2024
1 parent 66b4720 commit 5b16775
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/brew/gocatcli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class Gocatcli < Formula
desc "Command-line catalog tool for your offline data"
homepage "https://github.com/deadc0de6/gocatcli"
url "https://github.com/deadc0de6/gocatcli/archive/refs/tags/v1.0.3.tar.gz"
sha256 "0011a3a65ab6e894b12de7e55cb33d413a590a3e7c422af30e83ba94d28476b4"
license "GPL-3.0"

depends_on "go" => :build

def install
system "make", "build"
bin.install "bin/gocatcli"
end

test do
assert_match "gocatcli version #{version}", shell_output("#{bin}/gocatcli --version")
end
end

0 comments on commit 5b16775

Please sign in to comment.