-
Notifications
You must be signed in to change notification settings - Fork 0
/
oteldemo.rb
55 lines (47 loc) · 1.45 KB
/
oteldemo.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Oteldemo < Formula
desc "OpenTelemetry Demo Generator."
homepage "https://github.com/krzko/oteldemo"
version "0.1.3"
on_macos do
on_intel do
url "https://github.com/krzko/oteldemo/releases/download/v0.1.3/oteldemo_darwin_amd64.tar.gz"
sha256 "481109dd30e95bb3688d45ecde09778fdcd25cc2618fe27fab37fe235ecbd778"
def install
bin.install "oteldemo"
end
end
on_arm do
url "https://github.com/krzko/oteldemo/releases/download/v0.1.3/oteldemo_darwin_arm64.tar.gz"
sha256 "aaceae9b4a2d7f42059eaf002e16e00db1bd863439f24cbbd474060f9b284546"
def install
bin.install "oteldemo"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/krzko/oteldemo/releases/download/v0.1.3/oteldemo_linux_amd64.tar.gz"
sha256 "a847de430461c66a86747494d8b45f866a963ecbf9e4e39c71d2ef2f786f9cc9"
def install
bin.install "oteldemo"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/krzko/oteldemo/releases/download/v0.1.3/oteldemo_linux_arm64.tar.gz"
sha256 "230a66a630253478845d22a673e85176250632e7d2958107a5485be9bce8488e"
def install
bin.install "oteldemo"
end
end
end
end
test do
system "#{bin}/oteldemo -v"
end
end