-
Notifications
You must be signed in to change notification settings - Fork 10
62 lines (58 loc) · 5.65 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
60
61
62
class HazelcastManagementCenterAT54Snapshot < Formula
desc "Tool to run Hazelcast Management Center"
homepage "https://github.com/hazelcast/hazelcast-command-line"
version "5.4-SNAPSHOT"
url "https://repository.hazelcast.com/download/management-center/hazelcast-management-center-latest-snapshot.tar.gz"
sha256 "3a5d72bd32f5986a45e3df1e22c5e62f651cd64532efb64ec01089c3da0f200d"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.6", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.5", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.4", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.3", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.2", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.1", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.0", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-snapshot", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center", because: "you can install only a single hazelcast-management-center package"
depends_on "openjdk@21" => :recommended
def install
libexec.install Dir["*"]
Dir["#{libexec}/bin/*mc*"].each do |path|
executable_name = File.basename(path)
if executable_name.end_with? ".bat"
next
end
(bin/executable_name).write_env_script libexec/"bin/#{executable_name}", Language::Java.overridable_java_home_env
end
prefix.install_metafiles
end
def post_install
exec "echo Hazelcast Management Center has been installed."
end
end