-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
/
g2.rb
28 lines (24 loc) 路 790 Bytes
/
g2.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
class G2 < Formula
desc "Friendly git client"
homepage "https://orefalo.github.io/g2/"
url "https://github.com/orefalo/g2/archive/refs/tags/v1.1.tar.gz"
sha256 "bc534a4cb97be200ba4e3cc27510d8739382bb4c574e3cf121f157c6415bdfba"
license "MIT"
head "https://github.com/orefalo/g2.git", branch: "master"
bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, all: "0b2e6dea68767e664e437ecb4b38edf34d57673cde3e64f40b42eeca88ca233e"
end
def install
system "make", "prefix=#{prefix}", "install"
end
def caveats
<<~EOS
To complete the installation:
. #{prefix}/g2-install.sh
NOTE: This will install a new ~/.gitconfig, backing up any existing
file first. For more information view:
#{prefix}/README.md
EOS
end
end