mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-25 21:29:14 +02:00
- refactors brew template into separated files using embed.FS - moves the macos and linux packages to different template files - includes and indent those accordingly to which OSes are supported closes #4561 Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
28 lines
674 B
Ruby
28 lines
674 B
Ruby
# 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
|
|
|
|
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
|