mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-22 04:08:49 +02:00
b28b203af4
closes #2270 Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
31 lines
969 B
Plaintext
31 lines
969 B
Plaintext
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class Test < Formula
|
|
desc "Some desc"
|
|
homepage "https://google.com"
|
|
version "0.1.3"
|
|
bottle :unneeded
|
|
depends_on :linux
|
|
|
|
on_linux do
|
|
if Hardware::CPU.intel?
|
|
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Linux_x86_64.tar.gz"
|
|
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
|
|
end
|
|
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
|
|
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm6.tar.gz"
|
|
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
|
|
end
|
|
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
|
|
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm64.tar.gz"
|
|
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
|
|
end
|
|
end
|
|
|
|
def install
|
|
bin.install "test"
|
|
end
|
|
end
|