-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmach-composer.rb
More file actions
59 lines (53 loc) · 2.08 KB
/
Copy pathmach-composer.rb
File metadata and controls
59 lines (53 loc) · 2.08 KB
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
# 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.26.3"
license "MIT"
depends_on "git" => :optional
depends_on "terraform"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.26.3/mach-composer-2.26.3-darwin-amd64.tar.gz"
sha256 "f9b7a5e3f7ede37088843314c11ba233050044eb3084a1b9b1c07b48f4ecbfbe"
def install
bin.install "bin/mach-composer"
end
end
if Hardware::CPU.arm?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.26.3/mach-composer-2.26.3-darwin-arm64.tar.gz"
sha256 "c9abf2a215bc5b600339cd95b0a7317ca5c7e608f7ec82e0aaf553ae1d98d250"
def install
bin.install "bin/mach-composer"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.26.3/mach-composer-2.26.3-linux-amd64.tar.gz"
sha256 "615a39cf3ae040464757e80b8e7c8ab665c4e1a963ca77bc4251fb41aedf7c44"
def install
bin.install "bin/mach-composer"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.26.3/mach-composer-2.26.3-linux-armv6.tar.gz"
sha256 "9b522fd11bdf72cc28f9c881400eb90257f2f6f0ecb225aa4c68cf96c015740a"
def install
bin.install "bin/mach-composer"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/mach-composer/mach-composer-cli/releases/download/v2.26.3/mach-composer-2.26.3-linux-arm64.tar.gz"
sha256 "d997f6739f0fd4a00d4e7f8212119ab9c39e1fd0ae798faca91b6ab90f1ff3e2"
def install
bin.install "bin/mach-composer"
end
end
end
end