Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 9 additions & 16 deletions Formula/g/garble.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
class Garble < Formula
desc "Obfuscate Go builds"
homepage "https://github.com/burrowers/garble"
url "https://github.com/burrowers/garble/archive/refs/tags/v0.14.2.tar.gz"
sha256 "aea6e0a172296b50e3671a9b753aeb2eb7080a3103575cdf5e4d1aeccfe14ede"
url "https://github.com/burrowers/garble/archive/refs/tags/v0.15.0.tar.gz"
sha256 "b429b24dafa851a25bbeca635db33eb4162b8e3109fb234a2c8e7780a837b958"
license "BSD-3-Clause"
revision 4
head "https://github.com/burrowers/garble.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "f8143285f018aa84ad42a2e00ae3a1ee03ac394c7268dc8993c677cdfc9c4efb"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "f8143285f018aa84ad42a2e00ae3a1ee03ac394c7268dc8993c677cdfc9c4efb"
sha256 cellar: :any_skip_relocation, arm64_ventura: "f8143285f018aa84ad42a2e00ae3a1ee03ac394c7268dc8993c677cdfc9c4efb"
sha256 cellar: :any_skip_relocation, sonoma: "d54fa0749cc7a648f5724c1b4905eef9bf25be270d0923ab7d99d6830d35a86b"
sha256 cellar: :any_skip_relocation, ventura: "d54fa0749cc7a648f5724c1b4905eef9bf25be270d0923ab7d99d6830d35a86b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c0863f7848ea5aa0f24afe53ba523773bfbc732a6082249970c86d2b99d8eee6"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "478cc034cdfa77b43228eb068c893dbd18af7d98722131e34a850eac9a96ea80"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "478cc034cdfa77b43228eb068c893dbd18af7d98722131e34a850eac9a96ea80"
sha256 cellar: :any_skip_relocation, arm64_ventura: "478cc034cdfa77b43228eb068c893dbd18af7d98722131e34a850eac9a96ea80"
sha256 cellar: :any_skip_relocation, sonoma: "90dfb72aff843be2ff7beba6d14b037373c3c2d7b916f9aedff33cdd7631edc6"
sha256 cellar: :any_skip_relocation, ventura: "90dfb72aff843be2ff7beba6d14b037373c3c2d7b916f9aedff33cdd7631edc6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c0e79ee6c0faa37f313a099561ba5b314fcfbe51300cb0fa68d0777313bfb320"
end

depends_on "go" => :build
# Go version "go1.25.0" is too new; Go linker patches aren't available for go1.25 or later yet
depends_on "go@1.24" => :test
depends_on "go" => [:build, :test]
depends_on "git"

def install
Expand All @@ -27,10 +24,6 @@ def install
end

test do
go = deps.find { |dep| dep.test? && dep.name.match?(/^go(@\d+(\.\d+)*)?$/) }
.to_formula
ENV.prepend_path "PATH", go.opt_bin

(testpath/"hello.go").write <<~GO
package main

Expand Down
Loading