Skip to content

Commit

Permalink
diff-so-fancy 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rakkesh authored and DomT4 committed Apr 7, 2016
1 parent 47a9f91 commit 1fdda52
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Formula/diff-so-fancy.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
class DiffSoFancy < Formula
desc "Good-lookin' diffs with diff-highlight and more"
homepage "https://github.com/so-fancy/diff-so-fancy"
url "https://github.com/so-fancy/diff-so-fancy/archive/v0.6.3.tar.gz"
sha256 "b56213f08e5f1de1b0529d1a9a62024913ad2f12e043f9818f8cfcf00bed55c4"
url "https://github.com/so-fancy/diff-so-fancy/archive/v0.7.1.tar.gz"
sha256 "dcf795df0b398f393215d78679f34427e65aa263be3f4016e7e618706b1b4049"

bottle :unneeded

def install
prefix.install Dir["third_party", "libs", "diff-so-fancy"]
# temporary fix until upstream uses a directory other
# than lib for the perl script.
inreplace "diff-so-fancy", "/lib/", "/libexec/"
prefix.install "lib" => "libexec"

prefix.install Dir["third_party", "diff-so-fancy"]
bin.install_symlink prefix/"diff-so-fancy"
end

test do
ENV["TERM"] = "xterm"
system bin/"diff-so-fancy"
end
end

0 comments on commit 1fdda52

Please sign in to comment.