17 lines
415 B
Ruby
17 lines
415 B
Ruby
class Epochcli < Formula
|
|
desc "Updater and Launcher for Epoch"
|
|
homepage "https://git.burkey.co/eburk/epochcli/src/branch/master"
|
|
license "ISC"
|
|
head "https://git.burkey.co/eburk/epochcli.git", branch: "master"
|
|
|
|
depends_on "go" => :build
|
|
|
|
def install
|
|
system "go", "build", *std_go_args(ldflags: "-s -w")
|
|
end
|
|
|
|
test do
|
|
assert_match "Epochcli Help:", shell_output("#{bin}/epochcli -h")
|
|
end
|
|
end
|