github.com/goreleaser/goreleaser@v1.25.1/internal/pipe/brew/testdata/TestRunPipeUniversalBinaryNotReplacing.rb.golden (about) 1 # typed: false 2 # frozen_string_literal: true 3 4 # This file was generated by GoReleaser. DO NOT EDIT. 5 class Unibin < Formula 6 desc "Fake desc" 7 homepage "https://goreleaser.com" 8 version "1.0.1" 9 depends_on :macos 10 11 if Hardware::CPU.intel? 12 url "https://dummyhost/download/v1.0.1/bin_amd64.tar.gz" 13 sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" 14 15 def install 16 bin.install "unibin" 17 end 18 end 19 if Hardware::CPU.arm? 20 url "https://dummyhost/download/v1.0.1/bin_arm64.tar.gz" 21 sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" 22 23 def install 24 bin.install "unibin" 25 end 26 end 27 end