-
Notifications
You must be signed in to change notification settings - Fork 0
/
eta.rb
52 lines (45 loc) · 1.57 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 "1.1.8"
on_macos do
on_intel do
url "https://github.com/envoy/eta/releases/download/v1.1.8/eta_darwin_amd64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "2b46375560c927c93135ad3648f58ca9b4cb45959198fcca714139ad8f4c4e44"
def install
bin.install "eta"
end
end
on_arm do
url "https://github.com/envoy/eta/releases/download/v1.1.8/eta_darwin_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "fd62625a11fa0df1fac100bd3c1d3d72f451a838210aaa74957a1d5f626ad44b"
def install
bin.install "eta"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/eta/releases/download/v1.1.8/eta_linux_amd64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "05c4e94f140853d107c6650f2d31fa9eb4e68b62865348a943cb4c6a8f23c701"
def install
bin.install "eta"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/envoy/eta/releases/download/v1.1.8/eta_linux_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "a31898f3892c6773843717ede23ce68b421893efa2731a0f661414fd5b49f4d7"
def install
bin.install "eta"
end
end
end
end
end