From db2d9e33e2ebae2a118d43fed2778828972fb7ad Mon Sep 17 00:00:00 2001 From: Arne Jørgensen Date: Sat, 7 Mar 2015 22:10:24 +0100 Subject: solr: cleanup formula Closes #37490. Signed-off-by: Tim D. Smith --- Library/Formula/solr.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/solr.rb b/Library/Formula/solr.rb index d392f2a5d..431174195 100644 --- a/Library/Formula/solr.rb +++ b/Library/Formula/solr.rb @@ -1,12 +1,12 @@ -require "formula" - class Solr < Formula homepage "https://lucene.apache.org/solr/" url "http://www.apache.org/dyn/closer.cgi?path=lucene/solr/5.0.0/solr-5.0.0.tgz" mirror "https://archive.apache.org/dist/lucene/solr/5.0.0/solr-5.0.0.tgz" - sha1 "0c14a5212c4b9d9491881d743390596a19a3e989" + sha256 "48c77aede40fceda73cf4e13e08e328899685446f80f76f2e893eaffea714297" + + depends_on :java - skip_clean 'example/logs' + skip_clean "example/logs" def install libexec.install Dir["*"] @@ -41,4 +41,8 @@ class Solr < Formula EOS end + + test do + system "solr" + end end -- cgit v1.2.3