-
Notifications
You must be signed in to change notification settings - Fork 0
/
webrpc-test.rb
52 lines (45 loc) · 1.56 KB
/
webrpc-test.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.
class WebrpcTest < Formula
desc "generate source code for your target language from webrpc schema"
homepage "https://github.com/webrpc/webrpc"
version "0.22.1"
license "MIT"
on_macos do
on_intel do
url "https://github.com/webrpc/webrpc/releases/download/v0.22.1/webrpc-test.darwin-amd64"
sha256 "46fcf736be8c19c230bb09b86a34311dac94a4d08037eb06a4a72f2ceb0c65a1"
def install
bin.install "webrpc-test.darwin-amd64" => "webrpc-test"
end
end
on_arm do
url "https://github.com/webrpc/webrpc/releases/download/v0.22.1/webrpc-test.darwin-arm64"
sha256 "c78cf4fca6a94459cde669164fd10f82f0f0d13429ec4d6fda7f431aef4bfce9"
def install
bin.install "webrpc-test.darwin-arm64" => "webrpc-test"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/webrpc/webrpc/releases/download/v0.22.1/webrpc-test.linux-amd64"
sha256 "7043bd4e48cc74c934917234c711ff19720c861824cc9492471f74f8db10a29a"
def install
bin.install "webrpc-test.linux-amd64" => "webrpc-test"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/webrpc/webrpc/releases/download/v0.22.1/webrpc-test.linux-arm64"
sha256 "32e51de406d96500b6cd1f2164126a6061535590790294371fa2355074676a6d"
def install
bin.install "webrpc-test.linux-arm64" => "webrpc-test"
end
end
end
end
end