diff options
| author | Arne Jørgensen | 2015-03-07 22:10:24 +0100 | 
|---|---|---|
| committer | Tim D. Smith | 2015-03-07 22:41:10 -0800 | 
| commit | db2d9e33e2ebae2a118d43fed2778828972fb7ad (patch) | |
| tree | bea031d65b8bdf12ec0e958fb3f6a07e9a8942b5 /Library/Formula/solr.rb | |
| parent | e5c66f44f00d0dda9fd04d6a0c25545b48e11a06 (diff) | |
| download | homebrew-db2d9e33e2ebae2a118d43fed2778828972fb7ad.tar.bz2 | |
solr: cleanup formula
Closes #37490.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula/solr.rb')
| -rw-r--r-- | Library/Formula/solr.rb | 12 | 
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 | 
