-
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.23 KB
/
oasdiff.rb
File metadata and controls
35 lines (31 loc) · 1.23 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.15.0-openapi31.beta.3"
on_macos do
url "https://github.com/oasdiff/oasdiff/releases/download/v1.15.0-openapi31.beta.3/oasdiff_1.15.0-openapi31.beta.3_darwin_all.tar.gz"
sha256 "e83a8292ebedd61f826d9726161d8160b609842a9eb3ecd6cc6e11c919ece3b3"
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.15.0-openapi31.beta.3/oasdiff_1.15.0-openapi31.beta.3_linux_amd64.tar.gz"
sha256 "abadebf85fe464ef4fd162200c4d90f078dde3b875bcba915b549bb42c3dc6f8"
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.15.0-openapi31.beta.3/oasdiff_1.15.0-openapi31.beta.3_linux_arm64.tar.gz"
sha256 "aff6dd3e87444d9088abff0059ddd4cded185da85a16c4463bfd2bcfbf5d3891"
define_method(:install) do
bin.install "oasdiff"
end
end
end
end