Repository navigation
Expand file tree
/
Copy pathdeepsource.rb
More file actions
46 lines (40 loc) · 1.56 KB
/
Copy pathdeepsource.rb
File metadata and controls
46 lines (40 loc) · 1.56 KB
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Deepsource < Formula
desc "Command line interface to DeepSource"
homepage "https://github.com/deepsourcelabs/cli"
version "0.10.2"
license "BSD 2-Clause Simplified License"
on_macos do
url "https://github.com/DeepSourceCorp/cli/releases/download/v0.10.2/deepsource_0.10.2_darwin_x86_64.tar.gz"
sha256 "c56b898981c5c920d18cf49d57130d3a141f6d7a5594663bb6d37da5cda5be21"
def install
bin.install "deepsource"
bash_completion.install "completions/deepsource.bash" => "deepsource"
zsh_completion.install "completions/deepsource.zsh" => "_deepsource"
fish_completion.install "completions/deepsource.fish"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Deepsource
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/DeepSourceCorp/cli/releases/download/v0.10.2/deepsource_0.10.2_linux_x86_64.tar.gz"
sha256 "031efbf3326b26af63bbb962a093f4d532fa1a096aa9fd4b08095f2aa85042a8"
def install
bin.install "deepsource"
bash_completion.install "completions/deepsource.bash" => "deepsource"
zsh_completion.install "completions/deepsource.zsh" => "_deepsource"
fish_completion.install "completions/deepsource.fish"
end
end
end
end