-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfabric.rb
52 lines (45 loc) · 1.52 KB
/
fabric.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
49
50
51
52
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Fabric < Formula
desc "An open-source command-line tool for cybersecurity reporting automation and a configuration language for reusable templates"
homepage "https://blackstork.io/fabric/"
version "0.4.2"
license "Apache-2.0"
on_macos do
on_intel do
url "https://github.com/blackstork-io/fabric/releases/download/v0.4.2/fabric_darwin_x86_64.tar.gz"
sha256 "4931a3fa65ef2d958c02cc82b60b5cf403d7997229623bf0497e6d93905f9b35"
def install
bin.install "fabric"
end
end
on_arm do
url "https://github.com/blackstork-io/fabric/releases/download/v0.4.2/fabric_darwin_arm64.tar.gz"
sha256 "52a0aa1d7634f8b3868069159d2ce96c4de114fd5a9d74e9855577008ff34125"
def install
bin.install "fabric"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/blackstork-io/fabric/releases/download/v0.4.2/fabric_linux_x86_64.tar.gz"
sha256 "2e8a613b5031d815e755c54d1edb3bd6de595434619c617d9673c5fa9daa06e0"
def install
bin.install "fabric"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/blackstork-io/fabric/releases/download/v0.4.2/fabric_linux_arm64.tar.gz"
sha256 "326ab77926074862121f5a2256ebb03c1bfe18cadec50ae7ab996b09b2c40acc"
def install
bin.install "fabric"
end
end
end
end
end