-
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.0"
license "Apache License 2.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.0/xeol_0.10.0_darwin_arm64.tar.gz"
sha256 "35cf28f4037e2b4e6d14910bcd28c060c93a82105860ecf88d7da0f2cebd0aba"
def install
bin.install "xeol"
end
end
if Hardware::CPU.intel?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.0/xeol_0.10.0_darwin_amd64.tar.gz"
sha256 "af1bc599b5a6ee6d76f2d709afd5d06ac4f5544e1ae94939eb979dabdcb9abee"
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.0/xeol_0.10.0_linux_arm64.tar.gz"
sha256 "d567bf67f4c66a43c14ee01ff0b98f4b3df009184362fbc1d6754c404a9c647f"
def install
bin.install "xeol"
end
end
if Hardware::CPU.intel?
url "https://github.com/xeol-io/xeol/releases/download/v0.10.0/xeol_0.10.0_linux_amd64.tar.gz"
sha256 "f7c54f19f606d9f79ce6a182c27d93e48658fc6227aa3b23292090e319ae504a"
def install
bin.install "xeol"
end
end
end
end