-
Notifications
You must be signed in to change notification settings - Fork 5
/
dagger.rb
55 lines (47 loc) · 1.44 KB
/
dagger.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Dagger < Formula
desc "Dagger is an integrated platform to orchestrate the delivery of applications"
homepage "https://dagger.io"
version "0.13.7"
on_macos do
on_intel do
url "https://dl.dagger.io/dagger/releases/0.13.7/dagger_v0.13.7_darwin_amd64.tar.gz"
sha256 "e1d70d8fb8b8ea6879ab6286020959187b7da7d186859e5a63a80165bd92d8c2"
def install
bin.install "dagger"
end
end
on_arm do
url "https://dl.dagger.io/dagger/releases/0.13.7/dagger_v0.13.7_darwin_arm64.tar.gz"
sha256 "ab8ff93e578ca0d30eeb1d33d153753e5f571f72be8cc3ad42e91abf0e3a2207"
def install
bin.install "dagger"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://dl.dagger.io/dagger/releases/0.13.7/dagger_v0.13.7_linux_amd64.tar.gz"
sha256 "335b67cb1913d417ad9c200246b684a6f15c01a71cd92736454c090e6fc28086"
def install
bin.install "dagger"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://dl.dagger.io/dagger/releases/0.13.7/dagger_v0.13.7_linux_arm64.tar.gz"
sha256 "cca6873d76a1ac91704385f567b5502ee27048d61a18fd5d139ba560bbdb5702"
def install
bin.install "dagger"
end
end
end
end
test do
system "#{bin}/dagger version"
end
end