aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-03-24 00:20:02 -0500
committerJack Nagel2013-03-24 00:20:05 -0500
commitc028a7536ec180923afec5316b5cf1e6d9476334 (patch)
treee0968c5f6712b99a89fa92838c5c7f634184b46a /Library/Formula
parentafdfb4a4c0380e92cdf4ffe0980bbb7101b1d63b (diff)
downloadhomebrew-c028a7536ec180923afec5316b5cf1e6d9476334.tar.bz2
git-tf fix head, test
- head does not take a block - "mvn test" needs the source, of course
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git-tf.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/git-tf.rb b/Library/Formula/git-tf.rb
index 58ae9207a..696cd3e9d 100644
--- a/Library/Formula/git-tf.rb
+++ b/Library/Formula/git-tf.rb
@@ -7,9 +7,7 @@ class GitTf < Formula
depends_on 'maven' unless build.stable?
- head do
- url 'https://git01.codeplex.com/gittf', :using => :git
- end
+ head 'https://git01.codeplex.com/gittf', :using => :git
def install
if build.stable?
@@ -28,9 +26,7 @@ class GitTf < Formula
(share/'doc/git-tf').install Dir['Git-TF_*'] + Dir['ThirdPartyNotices*']
end
- def test
- system "mvn", "test" unless build.stable?
+ test do
system "#{bin}/git-tf"
- system "git", "tf"
end
end