homebrew-core/Formula/icdiff.rb
Pedro Araujo a1ff626c93 icdiff 1.5.1
Closes Homebrew/homebrew#34833.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-09 19:31:00 +00:00

20 lines
493 B
Ruby

require "formula"
require "tempfile"
class Icdiff < Formula
homepage "https://github.com/jeffkaufman/icdiff"
url "https://github.com/jeffkaufman/icdiff/archive/release-1.5.1.tar.gz"
sha1 "f65b5fe7915fa716024eff70ed36917a2a5558e0"
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