# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class FooIsBar < Formula
  desc "Foo bar"
  homepage "https://goreleaser.com"
  version "1.0.1"
  depends_on :macos

  on_macos do
    url "https://dummyhost/download/v1.0.1/bin.tar.gz"
    sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

    def install
      bin.install "foo"
    end

    if Hardware::CPU.arm?
      def caveats
        <<~EOS
          The darwin_arm64 architecture is not supported for the FooIsBar
          formula at this time. The darwin_amd64 binary may work in compatibility
          mode, but it might not be fully supported.
        EOS
      end
    end
  end
end
