-
-
Notifications
You must be signed in to change notification settings - Fork 911
/
v1.rb.golden
46 lines (40 loc) · 1.11 KB
/
v1.rb.golden
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class V1 < 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
if Hardware::CPU.is_64_bit?
url "https://dummyhost/download/v1.0.1/amd64v2.tar.gz"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
def install
bin.install "foo"
man1.install "./man/foo.1.gz"
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