-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmgit.rb
27 lines (24 loc) · 784 Bytes
/
mgit.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
class Mgit < Formula
desc "MultiGit - Effortless Git Repositories Management Tool"
homepage "https://github.com/VitaliiBedletskyi/MultiGit"
url "https://github.com/VitaliiBedletskyi/MultiGit/releases/download/v0.0.1/mgit-darwin-arm64"
version "v0.0.1"
sha256 ""
on_macos do
if Hardware::CPU.intel?
url "https://github.com/VitaliiBedletskyi/MultiGit/releases/download/v0.0.1/mgit-darwin-amd64"
sha256 ""
end
if Hardware::CPU.arm?
url "https://github.com/VitaliiBedletskyi/MultiGit/releases/download/v0.0.1/mgit-darwin-arm64"
sha256 ""
end
end
def install
if Hardware::CPU.intel?
bin.install "mgit-darwin-amd64" => "mgit"
elsif Hardware::CPU.arm?
bin.install "mgit-darwin-arm64" => "mgit"
end
end
end