aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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