Skip to content

Commit

Permalink
elasticsearch: use spec deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Sep 22, 2013
1 parent f62520f commit 6e77c75
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/elasticsearch.rb
Expand Up @@ -5,9 +5,10 @@ class Elasticsearch < Formula
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.5.tar.gz'
sha1 '8027a4ae1bef6876c7651b1590607c8ff6108820'

head 'https://github.com/elasticsearch/elasticsearch.git'

depends_on 'maven' if build.head?
head do
url 'https://github.com/elasticsearch/elasticsearch.git'
depends_on 'maven'
end

def cluster_name
"elasticsearch_#{ENV['USER']}"
Expand Down

0 comments on commit 6e77c75

Please sign in to comment.