homebrew-core/Formula/mdr.rb
2015-06-05 14:47:57 +01:00

23 lines
619 B
Ruby

class Mdr < Formula
desc "Make diffs readable"
homepage "https://github.com/halffullheart/mdr"
url "https://github.com/halffullheart/mdr/archive/v1.0.1.tar.gz"
sha1 "dbadda07e8ee7baaa1a3d6c82cbae8434b8327d5"
bottle do
cellar :any
sha1 "d1a11e01a31b003c5f6ccb817af9299d176465f3" => :yosemite
sha1 "55ccdc1bff014dcea22853c8a3ad9cbaf0da6aa3" => :mavericks
sha1 "8a249a030c0a5139d8eb0f5a488dac8faf7705c0" => :mountain_lion
end
def install
system "rake"
libexec.install Dir["*"]
bin.install_symlink libexec/"build/dev/mdr"
end
test do
system "#{bin}/mdr", "-h"
end
end