-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbt.rb
51 lines (44 loc) · 1.45 KB
/
dbt.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 Dbt < Formula
desc "dbt Labs' CLI."
homepage "https://github.com/dbt-labs/homebrew-dbt-cli"
version "0.38.26"
on_macos do
url "https://github.com/dbt-labs/dbt-cli/releases/download/v0.38.26/dbt_0.38.26_darwin_all.tar.gz"
sha256 "c17c90a4766a41f696011160b9cb23e33d1f4979f6189c3892ad59b8512c96d5"
def install
bin.install "dbt"
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/dbt-labs/dbt-cli/releases/download/v0.38.26/dbt_0.38.26_linux_amd64.tar.gz"
sha256 "04d6665029877dece607ba3f7d10e67adf23e707dce6e8fb81489ac1d08c022d"
def install
bin.install "dbt"
end
end
end
if Hardware::CPU.arm?
if !Hardware::CPU.is_64_bit?
url "https://github.com/dbt-labs/dbt-cli/releases/download/v0.38.26/dbt_0.38.26_linux_armv6.tar.gz"
sha256 "3c54adc75fb91c9e4e6e2fd383eb6aa6dc5dba4a587fdcc71a4ee6908438897c"
def install
bin.install "dbt"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/dbt-labs/dbt-cli/releases/download/v0.38.26/dbt_0.38.26_linux_arm64.tar.gz"
sha256 "f7325daa2ee7c2bd3c1e86fe539886e1fb1bd451fc7b58986a2d8c2e0459910b"
def install
bin.install "dbt"
end
end
end
end
end