-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathize-1.1.1.rb
54 lines (45 loc) · 1.59 KB
/
ize-1.1.1.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 Ize111 < Formula
desc "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"
homepage "https://ize.sh/"
version "1.1.1"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/hazelops/ize/releases/download/1.1.1/ize_1.1.1_darwin_amd64.tar.gz", :using => CurlDownloadStrategy
sha256 "f58e817d922d3b85676ea5f5aef5e5c249ae3bf8455d7735a64390743c25a4a9"
def install
bin.install "ize"
end
end
if Hardware::CPU.arm?
url "https://github.com/hazelops/ize/releases/download/1.1.1/ize_1.1.1_darwin_arm64.tar.gz", :using => CurlDownloadStrategy
sha256 "92f9e1e437c274ef26c93a968be6b5a2ab41c00cfc065e12a4e4e412dc915147"
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.1/ize_1.1.1_linux_arm64.tar.gz", :using => CurlDownloadStrategy
sha256 "e8020d687479c93dce5a8358b380aaa1f6afd003ead9ce450ad2bce60774093d"
def install
bin.install "ize"
end
end
if Hardware::CPU.intel?
url "https://github.com/hazelops/ize/releases/download/1.1.1/ize_1.1.1_linux_amd64.tar.gz", :using => CurlDownloadStrategy
sha256 "4a3892b2cbc6a12f07a4be7fffdcb5f84e70036b91dff2f8ca9105c7b2c410dd"
def install
bin.install "ize"
end
end
end
conflicts_with "ize-dev"
test do
system "#{bin}/ize"
end
end