homebrew-core/Formula/icdiff.rb
Chongyu Zhu f7c2b5e97a
icdiff 1.9.4
Closes #33118.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2018-10-19 18:57:25 +08:00

21 lines
583 B
Ruby

class Icdiff < Formula
desc "Improved colored diff"
homepage "https://github.com/jeffkaufman/icdiff"
url "https://github.com/jeffkaufman/icdiff/archive/release-1.9.4.tar.gz"
sha256 "dabceff1986d45f1e0e6a396ed71836586acfb99092a91303f14052b879ca59a"
head "https://github.com/jeffkaufman/icdiff.git"
bottle :unneeded
def install
bin.install "icdiff", "git-icdiff"
end
test do
(testpath/"file1").write "test1"
(testpath/"file2").write "test2"
system "#{bin}/icdiff", "file1", "file2"
system "git", "init"
system "#{bin}/git-icdiff"
end
end