mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-26 04:22:05 +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>
40 lines
971 B
Plaintext
40 lines
971 B
Plaintext
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class V3 < Formula
|
|
desc "Run pipe test formula"
|
|
homepage "https://github.com/goreleaser"
|
|
version "1.0.1"
|
|
|
|
on_macos do
|
|
if Hardware::CPU.arm?
|
|
url "https://dummyhost/download/v1.0.1/bin.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "foo"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
|
|
url "https://dummyhost/download/v1.0.1/arm64.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "foo"
|
|
end
|
|
end
|
|
if Hardware::CPU.intel?
|
|
url "https://dummyhost/download/v1.0.1/amd64v3.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "foo"
|
|
end
|
|
end
|
|
end
|
|
end
|