-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdagger-cue.rb
51 lines (43 loc) · 1.45 KB
/
dagger-cue.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class DaggerCue < Formula
desc "Dagger is a programmable deployment system."
homepage "https://github.com/dagger/dagger"
version "0.2.232"
on_macos do
if Hardware::CPU.arm?
url "https://dl.dagger.io/dagger-cue/releases/0.2.232/dagger-cue_v0.2.232_darwin_arm64.tar.gz"
sha256 "3e5a590367bebf62ec179cd118b093a03dc9430f6b2a0543287fa8e3c81e4f7d"
def install
bin.install "dagger-cue"
end
end
if Hardware::CPU.intel?
url "https://dl.dagger.io/dagger-cue/releases/0.2.232/dagger-cue_v0.2.232_darwin_amd64.tar.gz"
sha256 "ac3992e6013135973148e3748bc90f28ade1f9fcdce19e36d2fdbc927367c979"
def install
bin.install "dagger-cue"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://dl.dagger.io/dagger-cue/releases/0.2.232/dagger-cue_v0.2.232_linux_amd64.tar.gz"
sha256 "3f54e82c88eb2804a55d3052f04aea3163d72c29c1a8b703d325b2637fde31e4"
def install
bin.install "dagger-cue"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://dl.dagger.io/dagger-cue/releases/0.2.232/dagger-cue_v0.2.232_linux_arm64.tar.gz"
sha256 "3e9edc17a2c062ae83394bae4d55328df558a90a20751b122a89b4e8ef8ad27b"
def install
bin.install "dagger-cue"
end
end
end
test do
system "#{bin}/dagger-cue version"
end
end