From f19d1b5e4cabd47fa07c171e4ae3288ffd3cbe91 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 21 Sep 2013 18:33:42 -0500 Subject: gremlin: use spec deps --- Library/Formula/gremlin.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/gremlin.rb b/Library/Formula/gremlin.rb index f36313d13..e2194a572 100644 --- a/Library/Formula/gremlin.rb +++ b/Library/Formula/gremlin.rb @@ -5,9 +5,10 @@ class Gremlin < Formula url 'https://github.com/downloads/tinkerpop/gremlin/gremlin-1.3.zip' sha1 'd6c3a9c754d5b3d2f629340c98a796a0f4575115' - head 'https://github.com/tinkerpop/gremlin.git' - - depends_on 'maven' if build.head? + head do + url 'https://github.com/tinkerpop/gremlin.git' + depends_on 'maven' => :build + end def install # If this is a head build, checkout the source and build it with maven -- cgit v1.2.3