github.com/triarius/goreleaser@v1.12.5/internal/pipe/brew/testdata/TestRunPipeNameTemplate.rb.golden (about)

     1  # typed: false
     2  # frozen_string_literal: true
     3  
     4  # This file was generated by GoReleaser. DO NOT EDIT.
     5  class FooIsBar < Formula
     6    desc "Foo bar"
     7    homepage "https://goreleaser.com"
     8    version "1.0.1"
     9    depends_on :macos
    10  
    11    on_macos do
    12      url "https://dummyhost/download/v1.0.1/bin.tar.gz"
    13      sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    14  
    15      def install
    16        bin.install "foo"
    17      end
    18  
    19      if Hardware::CPU.arm?
    20        def caveats
    21          <<~EOS
    22            The darwin_arm64 architecture is not supported for the FooIsBar
    23            formula at this time. The darwin_amd64 binary may work in compatibility
    24            mode, but it might not be fully supported.
    25          EOS
    26        end
    27      end
    28    end
    29  end