This commit is contained in:
2025-06-16 14:00:59 -07:00
parent 50526b78aa
commit 8149d07619
2 changed files with 6 additions and 6 deletions

View File

@ -6,14 +6,13 @@ class Epochcli < Formula
license "ISC"
head "https://git.burkey.co/eburk/epochcli.git", branch: "master"
livecheck do
url :stable
end
depends_on "go" => :build
def install
system "go", "build"
bin.install "epochcli"
system "go", "build", *std_go_args(ldflags: "-s -w")
end
test do
assert_match "Epochcli Help:", shell_output("#{bin}/epochcli -h")
end
end