2016-02-10 18:41:06 +00:00
|
|
|
class DiffSoFancy < Formula
|
|
|
|
desc "Good-lookin' diffs with diff-highlight and more"
|
|
|
|
homepage "https://github.com/so-fancy/diff-so-fancy"
|
2016-03-05 22:03:36 +00:00
|
|
|
url "https://github.com/so-fancy/diff-so-fancy/archive/v0.6.0.tar.gz"
|
|
|
|
sha256 "8fb60792ba989351803ce19e7b20d3d3b1bafb46ddf0458e338ee7644d13169e"
|
2016-02-10 18:41:06 +00:00
|
|
|
|
2016-02-16 00:02:17 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2016-02-10 18:41:06 +00:00
|
|
|
def install
|
2016-03-02 08:49:14 +00:00
|
|
|
prefix.install Dir["third_party", "libs", "diff-so-fancy"]
|
|
|
|
bin.install_symlink prefix/"diff-so-fancy"
|
2016-02-10 18:41:06 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"diff-so-fancy"
|
|
|
|
end
|
|
|
|
end
|