-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnsc.rb
59 lines (52 loc) · 1.71 KB
/
nsc.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Nsc < Formula
desc "Container-optimized cloud infrastructure that just works."
homepage "https://namespace.so/"
version "0.0.399"
on_macos do
on_intel do
url "https://get.namespace.so/packages/nsc/v0.0.399/nsc_0.0.399_darwin_amd64.tar.gz"
sha256 "191a9e699e151b1e92ab7da9f1e73066ea33b5575305e852933237165d84279a"
def install
bin.install "nsc"
bin.install "docker-credential-nsc"
bin.install "bazel-credential-nsc"
end
end
on_arm do
url "https://get.namespace.so/packages/nsc/v0.0.399/nsc_0.0.399_darwin_arm64.tar.gz"
sha256 "3d51d816211e72e99d8933d6e727fe19276c4221cde1c9a9d867cbfbd8a1b8be"
def install
bin.install "nsc"
bin.install "docker-credential-nsc"
bin.install "bazel-credential-nsc"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://get.namespace.so/packages/nsc/v0.0.399/nsc_0.0.399_linux_amd64.tar.gz"
sha256 "fe5798a7187106d954ee377d18aee09bdd1aae0fa11d3855ae3352e43654b295"
def install
bin.install "nsc"
bin.install "docker-credential-nsc"
bin.install "bazel-credential-nsc"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://get.namespace.so/packages/nsc/v0.0.399/nsc_0.0.399_linux_arm64.tar.gz"
sha256 "224998794f29a73ceef504f919bfa2a00e3c281fcec93ac1a77ff3a5e5772070"
def install
bin.install "nsc"
bin.install "docker-credential-nsc"
bin.install "bazel-credential-nsc"
end
end
end
end
end