-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdagger.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.15.2"
on_macos do
on_intel do
url "https://dl.dagger.io/dagger/releases/0.15.2/dagger_v0.15.2_darwin_amd64.tar.gz"
sha256 "c861764991100178308a776a11bda0e2775b61f652ea0afa0c37c86217e159e7"
def install
bin.install "./dagger"
end
end
on_arm do
url "https://dl.dagger.io/dagger/releases/0.15.2/dagger_v0.15.2_darwin_arm64.tar.gz"
sha256 "c1ded0956b3d3f8c1682fba836c6eee8a1bd58575f07b943f89c4e41cc8356b6"
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.15.2/dagger_v0.15.2_linux_amd64.tar.gz"
sha256 "b025a86efdde245c0d855588c9ce5b96d87818bf593bb4328389181145a4db57"
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.15.2/dagger_v0.15.2_linux_arm64.tar.gz"
sha256 "5c5f99e7797270233f9990225743cc6e6b4c9f519ea612a0f4fc8e3a21c8ae76"
def install
bin.install "./dagger"
end
end
end
end
test do
system "#{bin}/dagger version"
end
end