-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheta.rb
52 lines (45 loc) · 1.61 KB
/
eta.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
require_relative "lib/private_strategy"
class Eta < Formula
desc ""
homepage "https://github.com/envoy/homebrew-tools"
version "2.0.4"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/envoy/eta/releases/download/v2.0.4/eta_darwin_amd64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "bc7f8402d056efdda433fd2ed03e481b79c4068cffffd850fb2535f5331f83ce"
def install
bin.install "eta"
end
end
if Hardware::CPU.arm?
url "https://github.com/envoy/eta/releases/download/v2.0.4/eta_darwin_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "d00aa45c7c0a52a2b10f788322e7e0c88d4d96b918e636ba44de56fb5aa212ab"
def install
bin.install "eta"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/eta/releases/download/v2.0.4/eta_linux_amd64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "3b4222161014d26cf4d17fb8fb98f4772819d376000896058c872601f4ea2223"
def install
bin.install "eta"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/eta/releases/download/v2.0.4/eta_linux_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "856ad3ffacfe75c26ec7eec7e17e4cb7684cf6a46ad34c501e821eb06fbddc98"
def install
bin.install "eta"
end
end
end
end
end