-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsonar.rb
39 lines (33 loc) · 1011 Bytes
/
sonar.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 Sonar < Formula
desc ""
homepage ""
version "1.7.5"
on_macos do
url "https://github.com/bi-zone/sonar/releases/download/v1.7.5/sonar_1.7.5_Darwin_x86_64.tar.gz"
sha256 "20c25094806f44edaade34705884a73706551d8e1d0e5648e30788fb83b31b42"
def install
bin.install "sonar"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Sonar
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/bi-zone/sonar/releases/download/v1.7.5/sonar_1.7.5_Linux_x86_64.tar.gz"
sha256 "70e578b5798acea82870bb71158635fcf76131d4b542ec2c7c730b1ebac57290"
def install
bin.install "sonar"
end
end
end
end