diff options
| author | Baptiste Fontaine | 2015-04-05 22:07:11 +0200 |
|---|---|---|
| committer | Xu Cheng | 2015-04-06 17:37:12 +0800 |
| commit | 6f7fb792c515fbd7098757aa839c7b401ebade93 (patch) | |
| tree | 87018799aa7d424afafe3774b3a2a33627d49557 /Library | |
| parent | ca7495df86eb60d17a0e327930fbbe3d59ff909f (diff) | |
| download | homebrew-6f7fb792c515fbd7098757aa839c7b401ebade93.tar.bz2 | |
rpg: test added
Closes #38396.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rpg.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/rpg.rb b/Library/Formula/rpg.rb index b76b1a6f7..46961780a 100644 --- a/Library/Formula/rpg.rb +++ b/Library/Formula/rpg.rb @@ -1,15 +1,17 @@ -require 'formula' - class Rpg < Formula - homepage 'https://github.com/rtomayko/rpg' - url 'https://github.com/downloads/rtomayko/rpg/rpg-0.3.0.tar.gz' - sha1 'acad232da1a560bdc0788bcfa203afcc58f0d7dc' + homepage "https://github.com/rtomayko/rpg" + url "https://github.com/downloads/rtomayko/rpg/rpg-0.3.0.tar.gz" + sha256 "c350f64744fb602956a91a57c8920e69058ea42e4e36b0e74368e96954d9d0c7" - head 'https://github.com/rtomayko/rpg.git' + head "https://github.com/rtomayko/rpg.git" def install system "./configure", "--prefix=#{prefix}" system "make" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/rpg", "config" end end |
