mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-27 21:39:20 +02:00
48 lines
1.1 KiB
Ruby
48 lines
1.1 KiB
Ruby
# 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
|
|
on_arm do
|
|
url "https://dummyhost/download/v1.0.1/bin.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "foo"
|
|
man1.install "./man/foo.1.gz"
|
|
end
|
|
end
|
|
end
|
|
|
|
on_linux do
|
|
on_intel do
|
|
url "https://dummyhost/download/v1.0.1/amd64v3.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "foo"
|
|
man1.install "./man/foo.1.gz"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
on_arm do
|
|
if Hardware::CPU.is_64_bit?
|
|
url "https://dummyhost/download/v1.0.1/arm64.tar.gz"
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
def install
|
|
bin.install "foo"
|
|
man1.install "./man/foo.1.gz"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|