-
Notifications
You must be signed in to change notification settings - Fork 0
/
xeol.rb
48 lines (41 loc) · 1.44 KB
/
xeol.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
40
41
42
43
44
45
46
47
48
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Xeol < Formula
desc "A scanner for end-of-life (EOL) software in container images, filesystems, and SBOMs"
homepage "https://github.com/xeol-io/xeol"
version "0.10.1"
license "Apache License 2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.1/xeol_0.10.1_darwin_arm64.tar.gz"
sha256 "1a2fce89e08486f494dc386e92b815165f56384d0949d70811de97298cf5e7c2"
def install
bin.install "xeol"
end
end
if Hardware::CPU.intel?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.1/xeol_0.10.1_darwin_amd64.tar.gz"
sha256 "19a9bcc7db21ba7d860d653aa49e8152e409dc8aa295702eaae931bb46d347b0"
def install
bin.install "xeol"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.1/xeol_0.10.1_linux_arm64.tar.gz"
sha256 "c1cc522fb20f1ac6b2aee41105a2a6a9a79eb5c63ca76c1fb6e2a41f296d8928"
def install
bin.install "xeol"
end
end
if Hardware::CPU.intel?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.1/xeol_0.10.1_linux_amd64.tar.gz"
sha256 "0cb89bdde6f780a1abc09509113dc1a91a22877fef2e777bc3eaff1dc84c1cb5"
def install
bin.install "xeol"
end
end
end
end