-
Notifications
You must be signed in to change notification settings - Fork 0
/
stencil.rb
66 lines (56 loc) · 1.84 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
59
60
61
62
63
64
65
66
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Stencil < Formula
desc "A modern living-template engine for evolving repositories"
homepage "https://stencil.rgst.io"
version "0.13.0"
license "Apache-2.0"
depends_on "git" if OS.mac?
on_macos do
on_intel do
url "https://github.com/rgst-io/stencil/releases/download/v0.13.0/stencil_0.13.0_darwin_amd64.tar.gz"
sha256 "e98b8c87446015c81ea9dff9056312a00e463d2354683d009f82aa699fdc8eaa"
def install
bin.install "stencil"
end
end
on_arm do
url "https://github.com/rgst-io/stencil/releases/download/v0.13.0/stencil_0.13.0_darwin_arm64.tar.gz"
sha256 "1399caa300ef7424cff9c6ce07839c812e73a121a57aa166ec8e449be52b4d3b"
def install
bin.install "stencil"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/rgst-io/stencil/releases/download/v0.13.0/stencil_0.13.0_linux_amd64.tar.gz"
sha256 "bc8ba0e1b9acde3cb01a92f00650dbd4818d69e02b3279380c705a704a45aa56"
def install
bin.install "stencil"
end
end
end
on_arm do
if !Hardware::CPU.is_64_bit?
url "https://github.com/rgst-io/stencil/releases/download/v0.13.0/stencil_0.13.0_linux_armv6.tar.gz"
sha256 "2ca234c464fcbb9c436af6ed27cd12be357db57e0691385e288ab63f89c9a06d"
def install
bin.install "stencil"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/rgst-io/stencil/releases/download/v0.13.0/stencil_0.13.0_linux_arm64.tar.gz"
sha256 "5b6c489270507a3e50671bae71a21c5660c5b1d768870c2f9f342907553ca7eb"
def install
bin.install "stencil"
end
end
end
end
conflicts_with "stencil"
end