Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
8149d07619 |
@ -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
|
||||
|
Reference in New Issue
Block a user