26 lines
1 KiB
Ruby
26 lines
1 KiB
Ruby
class GitImerge < Formula
|
|
desc "Incremental merge for git"
|
|
homepage "https://github.com/mhagger/git-imerge"
|
|
url "https://github.com/mhagger/git-imerge/archive/v1.1.0.tar.gz"
|
|
sha256 "62692f43591cc7d861689c60b68c55d7b10c7a201c1026096a7efc771df2ca28"
|
|
head "https://github.com/mhagger/git-imerge.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "18c1258aaf3bf4614044a508f4e9189ea2a4c751bafb3885f36147662010a435" => :catalina
|
|
sha256 "5abf5b539420bb46a8ab7b10e43126b3719e2ebc6e0a37fc18434027ed816995" => :mojave
|
|
sha256 "76aee24eeb5e7615e4cfbd7aaf3aacac8d8729dfcee79d8542a84cbd9b663459" => :high_sierra
|
|
sha256 "76aee24eeb5e7615e4cfbd7aaf3aacac8d8729dfcee79d8542a84cbd9b663459" => :sierra
|
|
sha256 "76aee24eeb5e7615e4cfbd7aaf3aacac8d8729dfcee79d8542a84cbd9b663459" => :el_capitan
|
|
end
|
|
|
|
def install
|
|
bin.mkpath
|
|
# Work around Makefile insisting to write to $(DESTDIR)/etc/bash_completion.d
|
|
system "make", "install", "DESTDIR=#{prefix}", "PREFIX="
|
|
end
|
|
|
|
test do
|
|
system bin/"git-imerge", "-h"
|
|
end
|
|
end
|