aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-18 13:18:13 +0100
committerMike McQuaid2015-02-18 13:55:17 +0000
commitea3cde9483b99b76a6f54193a87692bb882f3e46 (patch)
tree7ec711c6c29af08bfbbdf50a4fa27689b38e77eb /Library/Formula
parent3bb2fa75cbdf67b71d7341622c13219e0f828839 (diff)
downloadhomebrew-ea3cde9483b99b76a6f54193a87692bb882f3e46.tar.bz2
mdr 1.0.1
Closes #36932. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mdr.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/mdr.rb b/Library/Formula/mdr.rb
index 969cf51fa..d3f214881 100644
--- a/Library/Formula/mdr.rb
+++ b/Library/Formula/mdr.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Mdr < Formula
homepage "https://github.com/halffullheart/mdr"
- url "https://github.com/halffullheart/mdr/archive/v1.0.0.tar.gz"
- sha1 "4e2424363aa72f7e94997c91594f1f1c7901587d"
+ url "https://github.com/halffullheart/mdr/archive/v1.0.1.tar.gz"
+ sha1 "dbadda07e8ee7baaa1a3d6c82cbae8434b8327d5"
bottle do
cellar :any
@@ -15,6 +13,10 @@ class Mdr < Formula
def install
system "rake"
libexec.install Dir["*"]
- bin.install_symlink libexec+'mdr'
+ bin.install_symlink libexec/"build/dev/mdr"
+ end
+
+ test do
+ system "#{bin}/mdr", "-h"
end
end