/
valid_tap_templates.rb.golden
65 lines (53 loc) · 1.24 KB
/
valid_tap_templates.rb.golden
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class ValidTapTemplates < Formula
desc "Run pipe test formula and FOO=templated"
homepage ""
version "1.0.1"
depends_on "zsh" => :optional
depends_on "bash" => "3.2.57"
depends_on "fish" => :optional
depends_on :macos
on_macos do
url "https://dummyhost/download/v1.0.1/bin.tar.gz"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
def install
bin.install "valid_tap_templates"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the ValidTapTemplates
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
conflicts_with "gtk+"
conflicts_with "qt"
def post_install
system "echo"
touch "/tmp/hi"
end
def caveats
<<~EOS
don't do this valid_tap_templates
EOS
end
plist_options startup: false
def plist
<<~EOS
<xml>whatever</xml>
EOS
end
service do
run foo/bar
keep_alive true
end
test do
system "true"
system "#{bin}/foo", "-h"
end
end