homebrew-core/Formula/grakn.rb
2019-11-26 00:20:10 +00:00

20 lines
600 B
Ruby

class Grakn < Formula
desc "The distributed hyper-relational database for knowledge engineering"
homepage "https://grakn.ai"
url "https://github.com/graknlabs/grakn/releases/download/1.6.0/grakn-core-all-mac-1.6.0.zip"
sha256 "9d556869f402e4465c07b1fba8c82391dbfd4c9ae3d07a79f48b241dbe2679b2"
bottle :unneeded
depends_on :java => "1.8"
def install
libexec.install Dir["*"]
bin.install libexec/"grakn"
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