homebrew-core/Formula/grakn.rb
Filipe Peliz Pinto Teixeira 133a19f972 grakn 0.17.1 (#20231)
require Java 8 specifically
don't set CASSANDRA_HOME
update the test
2017-11-13 08:03:02 -08:00

20 lines
567 B
Ruby

class Grakn < Formula
desc "The Database for AI"
homepage "https://grakn.ai"
url "https://github.com/graknlabs/grakn/releases/download/v0.17.1/grakn-dist-0.17.1.tar.gz"
sha256 "a4d190d95515b01ce736056e2d738d67c14298465ba7fb92df5295612bb91475"
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