aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/icdiff.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/icdiff.rb')
-rw-r--r--Library/Formula/icdiff.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/icdiff.rb b/Library/Formula/icdiff.rb
new file mode 100644
index 000000000..818a7c04d
--- /dev/null
+++ b/Library/Formula/icdiff.rb
@@ -0,0 +1,19 @@
+require "formula"
+require "tempfile"
+
+class Icdiff < Formula
+ homepage "https://github.com/jeffkaufman/icdiff"
+ url "https://github.com/jeffkaufman/icdiff/archive/release-1.1.2.tar.gz"
+ sha1 "89cfb79237a59ed33c55fb020965f7c94e7510bc"
+ version "1.1.2"
+
+ def install
+ bin.install "icdiff", "git-icdiff"
+ end
+
+ test do
+ system "#{bin}/icdiff", Tempfile.new('ic-diff').path, Tempfile.new('ic-diff').path
+ system "git", "init"
+ system "#{bin}/git-icdiff"
+ end
+end