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-09 08:25:04 +00:00
|
|
|
url "https://github.com/so-fancy/diff-so-fancy/archive/v0.6.2.tar.gz"
|
|
|
|
sha256 "518376511f78a354c7af4ad5ded78553d6be892b4845716bca35408f61cc9996"
|
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
|