-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-o11y-run.rb
55 lines (47 loc) · 1.61 KB
/
run-o11y-run.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 RunO11yRun < Formula
desc "A single-binary 🌯 wrapper around `docker compose` with embedded configurations to effortlessly run your local observability stack"
homepage "https://github.com/krzko/run-o11y-run"
version "0.14.0"
on_macos do
on_intel do
url "https://github.com/krzko/run-o11y-run/releases/download/v0.14.0/run-o11y-run_darwin_amd64.tar.gz"
sha256 "e11497483289575764ed96490a1045fc16733f91eaf9046e3a25239cb6560a2d"
def install
bin.install "run-o11y-run"
end
end
on_arm do
url "https://github.com/krzko/run-o11y-run/releases/download/v0.14.0/run-o11y-run_darwin_arm64.tar.gz"
sha256 "a9535da2a164c3dd19924e3503159a9af06dae63d5a3bf4d2e76482008b4ee71"
def install
bin.install "run-o11y-run"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/krzko/run-o11y-run/releases/download/v0.14.0/run-o11y-run_linux_amd64.tar.gz"
sha256 "1a5567b45d966c36faf0f4b32c506202094e85a1dcab34fe509bb335016e8f43"
def install
bin.install "run-o11y-run"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/krzko/run-o11y-run/releases/download/v0.14.0/run-o11y-run_linux_arm64.tar.gz"
sha256 "29d62f0efe9944642ac651f701efc67692a0f5db6a905c78e8752375ced40581"
def install
bin.install "run-o11y-run"
end
end
end
end
test do
system "#{bin}/run-o11y-run -v"
end
end