-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheta.rb
52 lines (45 loc) · 1.62 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.12"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/envoy/eta/releases/download/v1.1.12/eta_darwin_amd64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "fc72a3c16b68cdaf213ba05c8093bc62b2ec3e897e200689e667d150fb92cbb3"
def install
bin.install "eta"
end
end
if Hardware::CPU.arm?
url "https://github.com/envoy/eta/releases/download/v1.1.12/eta_darwin_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "e345b45ee97f2328ec9de93d0458dc8097981fa7ffd95e49388a3ca9d4b2ded1"
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/v1.1.12/eta_linux_amd64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "df40c26adc0e31205d6e8643bc5868538cd2d88644054e94b75a4ceaa1415a63"
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/v1.1.12/eta_linux_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "dcf7c12e7aae0e5930119fcdc2334fe6f1f71d7c5669300aad748a71d7ae1b99"
def install
bin.install "eta"
end
end
end
end
end