-
Notifications
You must be signed in to change notification settings - Fork 5
51 lines (43 loc) · 1.39 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
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 DaggerAT02 < Formula
desc 'Dagger is a programmable deployment system.'
homepage 'https://github.com/dagger/dagger'
version '0.2.36'
on_macos do
if Hardware::CPU.intel?
url 'https://dl.dagger.io/dagger/releases/0.2.36/dagger_v0.2.36_darwin_amd64.tar.gz'
sha256 '85a61b8b6459771cb99ea5e66ce8b5a785d2609ddd051f81b1e9046a6b3df62c'
def install
bin.install 'dagger'
end
end
if Hardware::CPU.arm?
url 'https://dl.dagger.io/dagger/releases/0.2.36/dagger_v0.2.36_darwin_arm64.tar.gz'
sha256 'a8fa38cda29632b179bf7bf8bf8365f40934477c21484fc737711f68564efea1'
def install
bin.install 'dagger'
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url 'https://dl.dagger.io/dagger/releases/0.2.36/dagger_v0.2.36_linux_arm64.tar.gz'
sha256 'ee054239e0aebea0b9e2b482600bb65aa9979c38210d359a5342ae84d772f8c2'
def install
bin.install 'dagger'
end
end
if Hardware::CPU.intel?
url 'https://dl.dagger.io/dagger/releases/0.2.36/dagger_v0.2.36_linux_amd64.tar.gz'
sha256 '81075f303a780ad29221c0bbc6f45828b382437424430d61dc27e541743776f0'
def install
bin.install 'dagger'
end
end
end
test do
system "#{bin}/dagger version"
end
end