-
Notifications
You must be signed in to change notification settings - Fork 11
/
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.11.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/grafana/cortex-tools/releases/download/v0.11.0/cortextool_0.11.0_darwin_arm64.tar.gz"
sha256 "ad1165c6d234606254c61c85ed635426469474f4f189c0a5431e148376c19c1c"
def install
bin.install "cortextool"
end
end
if Hardware::CPU.intel?
url "https://github.com/grafana/cortex-tools/releases/download/v0.11.0/cortextool_0.11.0_darwin_amd64.tar.gz"
sha256 "ccca5f4a0c414cdf5806987b3206cc124f6bea33bbf4aef9db916573c4942ffc"
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.11.0/cortextool_0.11.0_linux_amd64.tar.gz"
sha256 "29e5b2ae0d2f59875e606c2b609f507a5b3b7d89aa90c915d355eb292eb6e8bc"
def install
bin.install "cortextool"
end
end
end
end