github.com/goreleaser/goreleaser@v1.25.1/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    url "https://dummyhost/download/v1.0.1/bin.tar.gz"
    12    sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    13  
    14    def install
    15      bin.install "foo"
    16    end
    17  
    18    if Hardware::CPU.arm?
    19      def caveats
    20        <<~EOS
    21          The darwin_arm64 architecture is not supported for the FooIsBar
    22          formula at this time. The darwin_amd64 binary may work in compatibility
    23          mode, but it might not be fully supported.
    24        EOS
    25      end
    26    end
    27  end