2013-11-07 08:58:38 +00:00
|
|
|
class Mdr < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Make diffs readable"
|
2013-11-07 08:58:38 +00:00
|
|
|
homepage "https://github.com/halffullheart/mdr"
|
2015-02-18 12:18:13 +00:00
|
|
|
url "https://github.com/halffullheart/mdr/archive/v1.0.1.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "103d52c47133a43cc7a6cb8a21bfabe2d6e35e222d5b675bc0c868699a127c67"
|
2013-11-07 08:58:38 +00:00
|
|
|
|
2014-06-25 22:38:28 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-18 13:53:26 +00:00
|
|
|
sha1 "d1a11e01a31b003c5f6ccb817af9299d176465f3" => :yosemite
|
|
|
|
sha1 "55ccdc1bff014dcea22853c8a3ad9cbaf0da6aa3" => :mavericks
|
|
|
|
sha1 "8a249a030c0a5139d8eb0f5a488dac8faf7705c0" => :mountain_lion
|
2014-06-25 22:38:28 +00:00
|
|
|
end
|
|
|
|
|
2013-11-07 08:58:38 +00:00
|
|
|
def install
|
|
|
|
system "rake"
|
2014-06-25 22:18:00 +00:00
|
|
|
libexec.install Dir["*"]
|
2015-02-18 12:18:13 +00:00
|
|
|
bin.install_symlink libexec/"build/dev/mdr"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/mdr", "-h"
|
2013-11-07 08:58:38 +00:00
|
|
|
end
|
|
|
|
end
|