-
Notifications
You must be signed in to change notification settings - Fork 0
/
ize.rb
58 lines (49 loc) · 1.62 KB
/
ize.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
55
56
57
58
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Ize < Formula
desc "IZE is an opinionated infrastructure wrapper that allows to use multiple tools in one infra"
homepage "https://ize.sh/"
version "1.1.13"
license "MIT"
on_macos do
on_intel do
url "https://github.com/hazelops/ize/releases/download/1.1.13/ize_1.1.13_darwin_amd64.tar.gz", using: CurlDownloadStrategy
sha256 "69d22f7e139f4e2e662067d23e286c8ca91f6c11134ff492b2c6f04695159f9a"
def install
bin.install "ize"
end
end
on_arm do
url "https://github.com/hazelops/ize/releases/download/1.1.13/ize_1.1.13_darwin_arm64.tar.gz", using: CurlDownloadStrategy
sha256 "c5ffa2695af0ea4a38370aad93c760c57ed419390647ed5e5307d6dd66bb307e"
def install
bin.install "ize"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/hazelops/ize/releases/download/1.1.13/ize_1.1.13_linux_amd64.tar.gz", using: CurlDownloadStrategy
sha256 "3e0aa0aadb3494d8f5ebd529a52b4114d8b91c2d207a5f4b03d19c02437ec28d"
def install
bin.install "ize"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/hazelops/ize/releases/download/1.1.13/ize_1.1.13_linux_arm64.tar.gz", using: CurlDownloadStrategy
sha256 "42c816cf9d916f494c2cfeed1c07921e08de8b8f645ab297ef87294ec1a90ad3"
def install
bin.install "ize"
end
end
end
end
conflicts_with "ize-dev"
test do
system "#{bin}/ize"
end
end