mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
ac398de727
- 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
665 B
Ruby
28 lines
665 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class Unibin < Formula
|
|
desc "Fake desc"
|
|
homepage "https://goreleaser.com"
|
|
version "1.0.1"
|
|
depends_on :macos
|
|
|
|
if Hardware::CPU.intel?
|
|
url "https://dummyhost/download/v1.0.1/bin_amd64.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "unibin"
|
|
end
|
|
end
|
|
if Hardware::CPU.arm?
|
|
url "https://dummyhost/download/v1.0.1/bin_arm64.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "unibin"
|
|
end
|
|
end
|
|
end
|