-
Notifications
You must be signed in to change notification settings - Fork 0
/
devx.rb
47 lines (40 loc) · 1.3 KB
/
devx.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Devx < Formula
desc ""
homepage "https://devx.stakpak.dev/"
version "0.4.39"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/stakpak/devx/releases/download/v0.4.39/devx_Darwin_x86_64.tar.gz"
sha256 "0a475c64bfeb9b9477b7bc028f4b05b91dc493566a4987244151187ee5f79965"
def install
bin.install "devx"
end
end
if Hardware::CPU.arm?
url "https://github.com/stakpak/devx/releases/download/v0.4.39/devx_Darwin_arm64.tar.gz"
sha256 "42e8fb3b6de8eff45147abb6c8cec06493b44a48c98101ac019f353f27cff8ee"
def install
bin.install "devx"
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/stakpak/devx/releases/download/v0.4.39/devx_Linux_x86_64.tar.gz"
sha256 "1e41446a222422b0625b187a23fad8f08b137500d69855c56a64b4f20dc6da19"
def install
bin.install "devx"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/stakpak/devx/releases/download/v0.4.39/devx_Linux_arm64.tar.gz"
sha256 "b9a11b54b3ed854c7ca58ad595cb05e23d8fb385cb93117da2ce97d844a17892"
def install
bin.install "devx"
end
end
end
end