class Macdeploycheck < Formula desc "Sanity checks a macOS .app bundle for accidental Homebrew runtime dependencies" homepage "https://github.com/strawberrymusicplayer/strawberry" version "0.1.0" sha256 :no_check license "MIT" depends_on :macos def install # Install the script from the tapped repo working tree. # (__dir__ is .../Formula, so ../.. is the tap root) script = File.expand_path("../../dist/macos/macdeploycheck.sh", __dir__) bin.install script => "macdeploycheck" end test do # Basic smoke test: tool runs and prints usage. system bin/"macdeploycheck" end end