forked from pachyderm/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (31 loc) · 1.01 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
require "formula"
require "language/go"
require 'erb'
class PachctlAT28 < Formula
homepage "github.com/pachyderm/pachyderm"
version "v2.8.6"
bottle do
root_url "https://github.com/pachyderm/pachyderm/releases/download/v2.8.6"
sha256 arm64_ventura: "fdc6508388142d69ee9bef28070e74e43b0671fbcabdb2ab1f6168155edfc736"
end
def install
bin.install buildpath/"pachctl"
end
# if Hardware::CPU.intel?
# url "https://github.com/pachyderm/pachyderm/releases/download/v2.8.6/pachctl_2.8.6_darwin_amd64.zip"
# sha256 "291b6ffcccc1f1225275e56d3a39b8c1fb8b0cd67f9bbdf38735cc4e18b9bf61"
# def install
# bin.install buildpath/"pachctl"
# end
# end
# if Hardware::CPU.arm?
# url "https://github.com/pachyderm/pachyderm/releases/download/v2.8.6/pachctl_2.8.6_darwin_arm64.zip"
# sha256 "ce8ad4a178103913af7c02b11d95c4d28e5cc4b8094d46a3a0f81382a78d8e23"
# def install
# bin.install buildpath/"pachctl"
# end
# end
test do
system "#{bin}/pachctl version"
end
end