4dc72624dc
This version uses the right servers...which didn't work yesterday but appear to work today.
22 lines
752 B
Ruby
22 lines
752 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.15.0/apache-drill-1.15.0.tar.gz"
|
|
mirror "https://archive.apache.org/dist/drill/drill-1.15.0/apache-drill-1.15.0.tar.gz"
|
|
sha256 "188c1d0df28e50f0265f4bc3c5871b4e7abc9450a4e5a7dbe7f0b23146bec76b"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.8"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
bin.install Dir["#{libexec}/bin/*"]
|
|
bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8"))
|
|
end
|
|
|
|
test do
|
|
ENV["DRILL_LOG_DIR"] = ENV["TMP"]
|
|
pipe_output("#{bin}/sqlline -u jdbc:drill:zk=local", "!tables", 0)
|
|
end
|
|
end
|