aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/solr.rb12
1 files changed, 8 insertions, 4 deletions
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
</plist>
EOS
end
+
+ test do
+ system "solr"
+ end
end