-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.rb
49 lines (41 loc) · 1.3 KB
/
foundry.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Foundry < Formula
desc ""
homepage ""
version "1.2.0"
depends_on "git" => :optional
on_macos do
if Hardware::CPU.arm?
url "https://assets.foundry.crowdstrike.com/cli/latest/foundry_Darwin_arm64.tar.gz"
sha256 "137a3b02c91457d4b954f1ac1b17c092975df7d550867eb24240a6db33a9596a"
def install
bin.install "foundry"
end
end
if Hardware::CPU.intel?
url "https://assets.foundry.crowdstrike.com/cli/latest/foundry_Darwin_x86_64.tar.gz"
sha256 "e6dd2fe50615aa19167357a68ec93186ed1fe15166c33d8e3462b39370bbed93"
def install
bin.install "foundry"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://assets.foundry.crowdstrike.com/cli/latest/foundry_Linux_arm64.tar.gz"
sha256 "8560eb15125ece092e739594ab9b19f7df4afd32800ef9bb4a2a499a17f3e7f2"
def install
bin.install "foundry"
end
end
if Hardware::CPU.intel?
url "https://assets.foundry.crowdstrike.com/cli/latest/foundry_Linux_x86_64.tar.gz"
sha256 "57ea1be2b5a5121169555f878afdb29f9a0518ed018913dd85be5a8461da38e7"
def install
bin.install "foundry"
end
end
end
end