mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-02-13 03:49:36 +00:00
feat: full site
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
class ExampleTool < Formula
|
||||
desc "An example tool to demonstrate the tap functionality"
|
||||
homepage "https://github.com/ivuorinen/example-tool"
|
||||
url "https://github.com/ivuorinen/example-tool/archive/v1.0.0.tar.gz"
|
||||
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
license "MIT"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
system "go", "build", *std_go_args(ldflags: "-s -w")
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "example-tool version 1.0.0", shell_output("#{bin}/example-tool --version")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user