aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-26 09:46:36 -0700
committerAdam Vandenberg2010-09-26 09:46:36 -0700
commit62ba1fd81f5a2f0bff1024c2a4e619e7273bade6 (patch)
tree26607aee1746e90e060912500651863d8685d8f8 /Library/Formula
parent098a05c89cd022a765df13bac79de4dbc62b4888 (diff)
downloadhomebrew-62ba1fd81f5a2f0bff1024c2a4e619e7273bade6.tar.bz2
gource - add test that runs against Homebrew itself
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gource.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/gource.rb b/Library/Formula/gource.rb
index 06eaf6f93..e7e566734 100644
--- a/Library/Formula/gource.rb
+++ b/Library/Formula/gource.rb
@@ -29,4 +29,10 @@ class Gource <Formula
"--disable-freetypetest"
system "make install"
end
+
+ def test
+ Dir.chdir HOMEBREW_REPOSITORY do
+ system "gource"
+ end
+ end
end