-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkissbom.rb
37 lines (31 loc) · 1.07 KB
/
kissbom.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Kissbom < Formula
desc ""
homepage "https://github.com/devops-kung-fu/kissbom"
version "0.0.2"
on_macos do
url "https://github.com/devops-kung-fu/kissbom/releases/download/v0.0.2/kissbom_0.0.2_darwin_all.tar.gz"
sha256 "7be994eea5bc5922840eec731610fc3e880a41797ebf47cff82d09c37da3c22d"
def install
bin.install "kissbom"
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/devops-kung-fu/kissbom/releases/download/v0.0.2/kissbom_0.0.2_linux_arm64.tar.gz"
sha256 "1bf567740f73a5c7119c3ed77d83c8973fe80afb82436982412950b639bede7f"
def install
bin.install "kissbom"
end
end
if Hardware::CPU.intel?
url "https://github.com/devops-kung-fu/kissbom/releases/download/v0.0.2/kissbom_0.0.2_linux_amd64.tar.gz"
sha256 "ea07470cb2fe38cad16102f3afd1efa50c33c1d27f91397c07735623d5ec6fde"
def install
bin.install "kissbom"
end
end
end
end