-
Notifications
You must be signed in to change notification settings - Fork 0
/
goreleaser-testing.rb
59 lines (52 loc) · 2.38 KB
/
goreleaser-testing.rb
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
47
48
49
50
51
52
53
54
55
56
57
58
59
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class GoreleaserTesting < Formula
desc ""
homepage "https://github.com/PatrickMenoti/homebrew-tools"
version "1.1.0-beta.34"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/PatrickMenoti/goreleaser-testing/releases/download/v1.1.0-beta.34/goreleaser-testing_1.1.0-beta.34_Darwin_x86_64.tar.gz"
sha256 "9b67162ba7fa614d1a3d8ca00482a106e0e1bcc5e3bc99d3cbd8c57ef9a714e9"
def install
bin.install "azioncli"
bash_completion.install "completions/azioncli.bash" => "azioncli"
zsh_completion.install "completions/azioncli.zsh" => "_azioncli"
fish_completion.install "completions/azioncli.fish"
end
end
if Hardware::CPU.arm?
url "https://github.com/PatrickMenoti/goreleaser-testing/releases/download/v1.1.0-beta.34/goreleaser-testing_1.1.0-beta.34_Darwin_arm64.tar.gz"
sha256 "bac50023b1c87a04eeae30a38ff55e70e194a7727fd03eacd0c82c5e969e0bae"
def install
bin.install "azioncli"
bash_completion.install "completions/azioncli.bash" => "azioncli"
zsh_completion.install "completions/azioncli.zsh" => "_azioncli"
fish_completion.install "completions/azioncli.fish"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/PatrickMenoti/goreleaser-testing/releases/download/v1.1.0-beta.34/goreleaser-testing_1.1.0-beta.34_Linux_x86_64.tar.gz"
sha256 "1957b425937f91c6e5d40385a7ad0cd027d78df03ed103b7099d8583e50c3fca"
def install
bin.install "azioncli"
bash_completion.install "completions/azioncli.bash" => "azioncli"
zsh_completion.install "completions/azioncli.zsh" => "_azioncli"
fish_completion.install "completions/azioncli.fish"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/PatrickMenoti/goreleaser-testing/releases/download/v1.1.0-beta.34/goreleaser-testing_1.1.0-beta.34_Linux_arm64.tar.gz"
sha256 "81e6bd143b70e50b8959e4de21d7872acb254ae2e0795c82045478eedb720ced"
def install
bin.install "azioncli"
bash_completion.install "completions/azioncli.bash" => "azioncli"
zsh_completion.install "completions/azioncli.zsh" => "_azioncli"
fish_completion.install "completions/azioncli.fish"
end
end
end
end