-
Notifications
You must be signed in to change notification settings - Fork 0
/
ize-1.1.2.rb
54 lines (45 loc) · 1.59 KB
/
ize-1.1.2.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Ize112 < Formula
desc "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"
homepage "https://ize.sh/"
version "1.1.2"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/hazelops/ize/releases/download/1.1.2/ize_1.1.2_darwin_amd64.tar.gz", :using => CurlDownloadStrategy
sha256 "98a6246b66116be2456ee0e79a55943e71e8586822fecf3cfeb0af8c9c4e5547"
def install
bin.install "ize"
end
end
if Hardware::CPU.arm?
url "https://github.com/hazelops/ize/releases/download/1.1.2/ize_1.1.2_darwin_arm64.tar.gz", :using => CurlDownloadStrategy
sha256 "506a850eeb661fb2331eedb87f8818e996aa111315b59a0d323fb978de02c674"
def install
bin.install "ize"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/hazelops/ize/releases/download/1.1.2/ize_1.1.2_linux_arm64.tar.gz", :using => CurlDownloadStrategy
sha256 "afa68de69971beab74f5d11cd9be3faef35497706bb0ac58f0f17c2f997d5f11"
def install
bin.install "ize"
end
end
if Hardware::CPU.intel?
url "https://github.com/hazelops/ize/releases/download/1.1.2/ize_1.1.2_linux_amd64.tar.gz", :using => CurlDownloadStrategy
sha256 "9ddca178670ae2ec67a1e98ab1f26cc3a4f319ce99cd8408717965a40b27f7ff"
def install
bin.install "ize"
end
end
end
conflicts_with "ize-dev"
test do
system "#{bin}/ize"
end
end