diff options
| author | Mike McQuaid | 2013-01-27 22:38:03 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-30 21:29:20 -0800 |
| commit | 2e3f8a0ddcb34f7d23da3ab5fb1351fda35d697e (patch) | |
| tree | b170966bae73e06eb630df7224c879145864a4b5 /Library/Formula | |
| parent | fb113db29a5a7a2cb218ac6c2f1c1aeb118f9ce8 (diff) | |
| download | homebrew-2e3f8a0ddcb34f7d23da3ab5fb1351fda35d697e.tar.bz2 | |
gist: add test and use new rake function.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gist.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/gist.rb b/Library/Formula/gist.rb index ce49788de..81d2a2421 100644 --- a/Library/Formula/gist.rb +++ b/Library/Formula/gist.rb @@ -7,6 +7,10 @@ class Gist < Formula head 'https://github.com/defunkt/gist.git' def install - system "rake", "install", "prefix=#{prefix}" + rake "install", "prefix=#{prefix}" + end + + test do + system "#{bin}/gist", '--version' end end |
