-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathload.rb
47 lines (40 loc) · 1.49 KB
/
load.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Load < Formula
desc "Styra Load is an enterprise-grade authorization engine built to provide resource-efficient performance for data-heavy workloads"
homepage "https://www.styra.com/styra-load"
version "1.4.1"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/StyraInc/load/releases/download/v1.4.1/load_Darwin_arm64"
sha256 "fcb6bb3a4813b21d082192d8266ad84bca6db52f3e23e0b98eae9239c586d226"
def install
bin.install "load_Darwin_arm64" => "load"
end
end
if Hardware::CPU.intel?
url "https://github.com/StyraInc/load/releases/download/v1.4.1/load_Darwin_x86_64"
sha256 "037d360cb794be24e2827004460bd29cd97e995cc6e089f38c98497e94d6aa65"
def install
bin.install "load_Darwin_x86_64" => "load"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/StyraInc/load/releases/download/v1.4.1/load_Linux_arm64"
sha256 "720220cfa5953059fbb80a2e12e2f281a19d4b9c80e7883e3653ec9cfeafd7f6"
def install
bin.install "load_Linux_arm64" => "load"
end
end
if Hardware::CPU.intel?
url "https://github.com/StyraInc/load/releases/download/v1.4.1/load_Linux_x86_64"
sha256 "57c865d7e22a1f931dd26891da44b5692991b0846ef3d4b9c86fd8cee0938f6e"
def install
bin.install "load_Linux_x86_64" => "load"
end
end
end
end