-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoasdiff.rb
More file actions
35 lines (31 loc) · 1.12 KB
/
oasdiff.rb
File metadata and controls
35 lines (31 loc) · 1.12 KB
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Oasdiff < Formula
desc ""
homepage "https://github.com/oasdiff/oasdiff"
version "1.13.5"
on_macos do
url "https://github.com/oasdiff/oasdiff/releases/download/v1.13.5/oasdiff_1.13.5_darwin_all.tar.gz"
sha256 "562bdec30dc4487df8c925c27d8abfa2f0931498b1ea6c4949b2433d014439f3"
define_method(:install) do
bin.install "oasdiff"
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/oasdiff/oasdiff/releases/download/v1.13.5/oasdiff_1.13.5_linux_amd64.tar.gz"
sha256 "f38f9e87a7617a78835ce5ffff76f69dae44e8c58e0964d160408de3e0408288"
define_method(:install) do
bin.install "oasdiff"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/oasdiff/oasdiff/releases/download/v1.13.5/oasdiff_1.13.5_linux_arm64.tar.gz"
sha256 "5143d5c967cd66bdd1838a03dca1fe835054c7f940ad11a5606b8a39508a97ae"
define_method(:install) do
bin.install "oasdiff"
end
end
end
end