forked from grafana/homebrew-grafana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cortextool.rb
39 lines (33 loc) · 1.12 KB
/
cortextool.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Cortextool < Formula
desc "Tools for interacting with Cortex"
homepage "https://grafana.com"
version "0.10.7"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/grafana/cortex-tools/releases/download/v0.10.7/cortextool_0.10.7_darwin_arm64.tar.gz"
sha256 "5a1fd8bbb72aded3e9a00e59727ccec0e66477b3d197ec8f5299c37752a4e5df"
def install
bin.install "cortextool"
end
end
if Hardware::CPU.intel?
url "https://github.com/grafana/cortex-tools/releases/download/v0.10.7/cortextool_0.10.7_darwin_amd64.tar.gz"
sha256 "b4f52472bebaafc3e7a06d38867e58820c0403ab174186af8cfa8d486728a6fe"
def install
bin.install "cortextool"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/grafana/cortex-tools/releases/download/v0.10.7/cortextool_0.10.7_linux_amd64.tar.gz"
sha256 "9978bf2923c562ffd8da30efcb9bf3a459af9609c9a234aab385aeb18fcf742e"
def install
bin.install "cortextool"
end
end
end
end