-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathorchard.rb
61 lines (53 loc) · 1.85 KB
/
orchard.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Orchard < Formula
desc "Orchestrator for running Tart Virtual Machines on a cluster of Apple Silicon devices"
homepage "https://github.com/cirruslabs/orchard"
version "0.26.2"
on_macos do
on_intel do
url "https://github.com/cirruslabs/orchard/releases/download/0.26.2/orchard-darwin-amd64.tar.gz"
sha256 "c99d3b9f59291e654b8e81e2196e9ce3dabc395baf1372197ea5ec6c901dcc13"
def install
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
on_arm do
url "https://github.com/cirruslabs/orchard/releases/download/0.26.2/orchard-darwin-arm64.tar.gz"
sha256 "8a1189b72669996dc27cfc1e8173b04d018627b28c997dc38658ba9ffdae1167"
def install
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/orchard/releases/download/0.26.2/orchard-linux-amd64.tar.gz"
sha256 "e4c088141066606f18b6cb02783b804701b2ec93233272f6b9c397b6dcc2642f"
def install
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/orchard/releases/download/0.26.2/orchard-linux-arm64.tar.gz"
sha256 "3e0ba0491860fb3964093e0d926481fe1baf04a78501d2f427d25aa371a7a904"
def install
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
end
end
def caveats
<<~EOS
See the Github repository for more information
EOS
end
end