-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathorchard.rb
More file actions
55 lines (49 loc) · 1.9 KB
/
Copy pathorchard.rb
File metadata and controls
55 lines (49 loc) · 1.9 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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.55.0"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/cirruslabs/orchard/releases/download/0.55.0/orchard-darwin-amd64.tar.gz"
sha256 "d8429b6093c9e32b64588baf4a6fbfd6fdef78e250a58057a7e88e7a4251c7fe"
define_method(:install) do
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
if Hardware::CPU.arm?
url "https://github.com/cirruslabs/orchard/releases/download/0.55.0/orchard-darwin-arm64.tar.gz"
sha256 "72ee444251e91e07b2d05e1b5ef19b6f19cc2ade9d3068cc45b3c569938a41ab"
define_method(:install) do
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/orchard/releases/download/0.55.0/orchard-linux-amd64.tar.gz"
sha256 "38cfeb6a7d1c4657e7a0049f43b722d2e011840198f0d0d2f9530726606fe75a"
define_method(:install) do
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/cirruslabs/orchard/releases/download/0.55.0/orchard-linux-arm64.tar.gz"
sha256 "69fe67c6954a5898131266ab35353f98886eb5851d35135401797611f739e56c"
define_method(:install) do
bin.install "orchard"
generate_completions_from_executable(bin/"orchard", "completion")
end
end
end
def caveats
<<~EOS
See the Github repository for more information
EOS
end
end