homebrew-core/Formula/apache-drill.rb
castor4bit c9e019076c apache-drill 1.4.0
Closes Homebrew/homebrew#47592.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-01 21:57:00 +01:00

20 lines
610 B
Ruby

class ApacheDrill < Formula
desc "Schema-free SQL query engine for Hadoop and NoSQL"
homepage "https://drill.apache.org/download/"
url "https://www.apache.org/dyn/closer.cgi?path=drill/drill-1.4.0/apache-drill-1.4.0.tar.gz"
mirror "http://getdrill.org/drill/download/apache-drill-1.4.0.tar.gz"
sha256 "4ffe85865c8e2c453ba0fdb9f701af556836a0293b8d78c214a51ef81f3844ea"
bottle :unneeded
def install
libexec.install Dir["*"]
bin.write_exec_script Dir["#{libexec}/bin/*"]
end
test do
ENV.java_cache
pipe_output("#{bin}/sqlline -u jdbc:drill:zk=local", "!tables", 0)
end
end