Files
homebrew-tap/Formula/e/example-tool.rb
Ismo Vuorinen 6de65bca11 Initial Homebrew tap setup with automated documentation
- Add formula parser with Ruby AST parsing
- Add GitHub Actions CI/CD workflows
- Add Jekyll-based documentation site
- Add RuboCop and Dependabot configuration
- Add example formula for demonstration
2025-09-02 02:22:26 +03:00

18 lines
530 B
Ruby

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