chore: fixes, several improvements and refactorings (#2)

* chore: fixes

* chore: rubocop fixes, linting, etc.

* chore: switching to use `brew style` only

* chore: use `brew style` for linting, skip example formulae in ci.yml

* chore(lint): fixes, additions and tweaks
This commit is contained in:
2025-09-23 11:29:53 +03:00
committed by GitHub
parent 310ac4946a
commit 6dc9a170cc
16 changed files with 678 additions and 472 deletions

20
Formula/e/example-tool.rb Normal file
View File

@@ -0,0 +1,20 @@
# frozen_string_literal: true
# Homebrew formula for ExampleTool - a demonstration tool for this tap
class ExampleTool < Formula
desc "Imaginery tool to demonstrate the tap functionality"
homepage "https://github.com/ivuorinen/example-tool"
url "https://github.com/ivuorinen/example-tool/refs/tags/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