-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstencil.rb
58 lines (49 loc) · 1.69 KB
/
stencil.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
53
54
55
56
57
58
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Stencil < Formula
desc "Schema registry"
homepage "https://github.com/raystack/stencil"
version "0.5.0"
license "Apache 2.0"
depends_on "git"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/raystack/stencil/releases/download/v0.5.0/stencil_Darwin_x86_64.tar.gz"
sha256 "6f6f2b83abd52bd93cc837ab71fcfb44af98aa64ce90722c68afb79e27969eb7"
def install
bin.install "stencil"
end
end
if Hardware::CPU.arm?
url "https://github.com/raystack/stencil/releases/download/v0.5.0/stencil_Darwin_arm64.tar.gz"
sha256 "2e975dd1b9b5e483e07a5743f3e4c914d3694c69732da26b54f339414e6764cc"
def install
bin.install "stencil"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/raystack/stencil/releases/download/v0.5.0/stencil_Linux_x86_64.tar.gz"
sha256 "3cc89993835ea4d172811e06f4a46a847d3e445617e0f0fc44d33cf76cff6d30"
def install
bin.install "stencil"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/raystack/stencil/releases/download/v0.5.0/stencil_Linux_arm64.tar.gz"
sha256 "fff0b477e04550cb14838c7ece7790b5bb7cef3f2b73aa279c10cf6fabd0ed84"
def install
bin.install "stencil"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/raystack/stencil/releases/download/v0.5.0/stencil_Linux_armv6.tar.gz"
sha256 "82489aaf9886c9facf9b42cefb51c0dc97f2c25663de36e3f460fccd2b20a715"
def install
bin.install "stencil"
end
end
end
end