From 25bbb00eedf6fa6db9d60dc656f2476f7226f63e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 9 Aug 2012 16:22:17 -0700 Subject: gremlin: use options dsl --- Library/Formula/gremlin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/gremlin.rb b/Library/Formula/gremlin.rb index be48cb297..deeeeaf1b 100644 --- a/Library/Formula/gremlin.rb +++ b/Library/Formula/gremlin.rb @@ -7,11 +7,11 @@ class Gremlin < Formula head 'https://github.com/tinkerpop/gremlin.git' - depends_on 'maven' if ARGV.build_head? + depends_on 'maven' if build.head? def install # If this is a head build, checkout the source and build it with maven - if ARGV.build_head? + if build.head? # Setup a couple of paths for the build pwd = Pathname.new('.') -- cgit v1.2.3