-
Notifications
You must be signed in to change notification settings - Fork 1
/
mach-composer.rb
68 lines (59 loc) · 2.11 KB
/
mach-composer.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
59
60
61
62
63
64
65
66
67
68
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class MachComposer < Formula
desc "MACH composer is a framework that you use to orchestrate and extend
modern digital commerce & experience platforms, based on MACH
technologies and cloud native services..
"
homepage "https://machcomposer.io/"
version "2.21.0"
license "MIT"
depends_on "git" => :optional
depends_on "terraform"
on_macos do
on_intel do
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.21.0/mach-composer-2.21.0-darwin-amd64.tar.gz"
sha256 "7999483c5001a6de68eddef64b13818354533363ee17dfadd98cc9ae4462de55"
def install
bin.install "bin/mach-composer"
end
end
on_arm do
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.21.0/mach-composer-2.21.0-darwin-arm64.tar.gz"
sha256 "59ba0f73d455125b5a9360cddfbd9236c651e004169bf75c2d44ab7e14ffc9a8"
def install
bin.install "bin/mach-composer"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.21.0/mach-composer-2.21.0-linux-amd64.tar.gz"
sha256 "414792530ea759b0a20942b21c73ae6977b596f6f753cecaaf5a65af673d541a"
def install
bin.install "bin/mach-composer"
end
end
end
on_arm do
if !Hardware::CPU.is_64_bit?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.21.0/mach-composer-2.21.0-linux-armv6.tar.gz"
sha256 "366ea94049953ff0292da7a0040432393be03ad46807d63ba8e50c79bf3d3253"
def install
bin.install "bin/mach-composer"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.21.0/mach-composer-2.21.0-linux-arm64.tar.gz"
sha256 "0c1f425a9717fc96c49d208db25a2ea12dc3b9f1df5ba81769040d408228a15e"
def install
bin.install "bin/mach-composer"
end
end
end
end
end