class Grakn < Formula desc "The Database for AI" homepage "https://grakn.ai" url "https://github.com/graknlabs/grakn/releases/download/v0.18.0/grakn-dist-0.18.0.tar.gz" sha256 "c0a99b13d97262a7f61d0cb462ec7c09d01b06a7d32c6d586cbe49de0f03ceff" bottle :unneeded depends_on :java => "1.8" def install libexec.install Dir["*"] bin.install libexec/"grakn", libexec/"graql" bin.env_script_all_files(libexec, Language::Java.java_home_env("1.8")) end test do assert_match /RUNNING/i, shell_output("#{bin}/grakn server status") end end