homebrew-core/Formula/apache-drill.rb
James Yu bb5a430849 apache-drill: fix homepage and description
Closes #9625.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-02-04 16:21:25 +01:00

21 lines
668 B
Ruby

class ApacheDrill < Formula
desc "Schema-free SQL Query Engine for Hadoop, NoSQL and Cloud Storage"
homepage "https://drill.apache.org"
url "https://www.apache.org/dyn/closer.cgi?path=drill/drill-1.9.0/apache-drill-1.9.0.tar.gz"
mirror "https://archive.apache.org/dist/drill/drill-1.9.0/apache-drill-1.9.0.tar.gz"
sha256 "ebe668054059b394298a294ab85e44d71facb3ecbf03bf475c5246a6c22fbc89"
bottle :unneeded
def install
libexec.install Dir["*"]
bin.write_exec_script Dir["#{libexec}/bin/*"]
end
test do
ENV.java_cache
ENV["DRILL_LOG_DIR"] = ENV["TMP"]
pipe_output("#{bin}/sqlline -u jdbc:drill:zk=local", "!tables", 0)
end
end