mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
d6306059d2
* fix: brew style closes #3236 Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * fix: more fixes Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * fix: more fixes Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
30 lines
722 B
Plaintext
30 lines
722 B
Plaintext
# 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
|