diff options
| author | Jack Nagel | 2013-09-21 18:33:42 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-21 19:29:50 -0500 |
| commit | 7a522aff8b15a76b22ea4d2888cee8b92eb9e93e (patch) | |
| tree | a166dd90ea81f4df5246dbc0ee45b8ea5de2ce9e /Library | |
| parent | 9f429c8da40eca76f988657d6453d2fd401a2e94 (diff) | |
| download | homebrew-7a522aff8b15a76b22ea4d2888cee8b92eb9e93e.tar.bz2 | |
elasticsearch: use spec deps
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/elasticsearch.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/elasticsearch.rb b/Library/Formula/elasticsearch.rb index 4ae291868..492844cb0 100644 --- a/Library/Formula/elasticsearch.rb +++ b/Library/Formula/elasticsearch.rb @@ -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']}" |
