aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2013-01-27 22:38:03 +0000
committerMike McQuaid2013-01-30 21:29:20 -0800
commit2e3f8a0ddcb34f7d23da3ab5fb1351fda35d697e (patch)
treeb170966bae73e06eb630df7224c879145864a4b5
parentfb113db29a5a7a2cb218ac6c2f1c1aeb118f9ce8 (diff)
downloadhomebrew-2e3f8a0ddcb34f7d23da3ab5fb1351fda35d697e.tar.bz2
gist: add test and use new rake function.
-rw-r--r--Library/Formula/gist.rb6
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